回答済み 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...
14年弱 前 | 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...
回答済み 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...
14年弱 前 | 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},...
14年弱 前 | 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...
14年弱 前 | 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...
14年弱 前 | 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...
回答済み 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...
14年弱 前 | 43
| 採用済み
回答済み 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...
14年弱 前 | 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...
14年弱 前 | 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...
14年弱 前 | 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...
14年弱 前 | 1
| 採用済み
送信済み
Color code a scatter plot
Color code a scatter plot in one, two, or three dimensions according to scalar function of the data.