已回答
xlswrite dropping strings
It's hard to tell without more detail on the contents of result.xls_full_data. However, if your strings are nested in a cell in...

12 years 前 | 1

已回答
Need to make a 4D plot (3D + Colour)
I take it that the four dimensions are the four different indices you are using to index your signals? If so, why would you trea...

12 years 前 | 0

已回答
MATLAB OOP - calling an object method from within another object method
One way is via composition: (see <http://en.wikipedia.org/wiki/Object_composition>) Let your two classes be class A and class...

12 years 前 | 0

| 已接受

已回答
How do you use the else if commands to alter variables in matrices?
It helps to realize that the sum of the indices is constant along anti-diagonals in a matrix (while the difference is constant a...

12 years 前 | 0

已回答
Need some help
One way to accomplish what I think you're trying to do in items (1) and (2) of your original question is the following: % ro...

12 years 前 | 0

已回答
plotting time series
Just change the assignment in your loop from ts1{i} = timeseries(x{i},1:length(x{i})); to ts1(i) = timeseries(x{i},...

12 years 前 | 1

| 已接受

已回答
Reformat data
Assuming that your data lives inside someTextFile.txt, that the values in the data set are delimited/separated by tabs (\t) or s...

12 years 前 | 0

| 已接受

已回答
contour plot in polar coordinates
It may be helpful to know that the line of code z = r-t defines the surface as a function of r and t. For example, if y...

12 years 前 | 0

已回答
CSV file import with timestamp
The assignment fmt = %f "%u-%u-%u %u:%u:%u+%u" %u should be fmt = '%f "%u-%u-%u %u:%u:%u+%u" %u' (notice the sin...

12 years 前 | 1

已回答
How to divide images into blocks of size 8 * 8
Replace g = mat2cell(i,[a,a],[b,b],3); with g = mat2cell(i,8*ones(1,size(i,1)/8),8*ones(1,size(i,2)/8),3); eff...

12 years 前 | 2

已回答
Zooming a portion of figure in a figure.
Below is an example that zooms in on a portion of a curve and displays the zoomed in version in the same figure window without u...

12 years 前 | 41

| 已接受

已回答
3D surface (sine wave)
One possibility is to use the following: k1 = 1; %how many times you want wave to oscillate in x-dir k2 = 0; %how many t...

12 years 前 | 0

| 已接受

已回答
how to create curve non linear
Not sure I entirely understand your question, but if you're trying to create a nonlinear curve that passes through the two point...

12 years 前 | 0

已回答
convert complex matrix to 3D plot
Create a domain [X,Y] = meshgrid(linspace(-pi,pi)); Evaluate f(z) = log(z) for complex z. F is a complex matrix that rep...

12 years 前 | 1

已回答
Variable "ON"
First, create C: C = zeros(size(B)); Then use this command to assign elements of B associated with nonzero A values int...

12 years 前 | 1

| 已接受

已提交


Color code a scatter plot
Color code a scatter plot in one, two, or three dimensions according to scalar function of the data.

13 years 前 | 3 次下载 |

Thumbnail