Respondida
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...

casi 14 años hace | 1

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

Respondida
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},...

casi 14 años hace | 1

| aceptada

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 1

Respondida
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...

casi 14 años hace | 2

Respondida
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...

casi 14 años hace | 43

| aceptada

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 1

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

casi 14 años hace | 1

| aceptada

Enviada


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

más de 14 años hace | 1 descarga |

3.0 / 5
Thumbnail