Risposto
How to expand struct or cell?
Hi, Dave: The problem is that the structure is already there to load. We can check its variables layer by layer. You can see ...

quasi 10 anni fa | 0

Domanda


How to expand struct or cell?
The cell or struct contains sub struct and sub struct with name and value of number or string, a long list. Can it be expanded i...

quasi 10 anni fa | 2 risposte | 0

2

risposte

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

circa 10 anni fa

Domanda


How to detect if a figure exist?
To save the figure if one exists with: saveas(gcf,figname); the problem is that if no figure exists, it'll create a figu...

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


How to make a 3D matrix from 3 vectors?
3 vectors, a b c, to be used as factor or filter for a 3D matrix V. For 2D it's easy and elegant: d=a'*b; f=M.*d; % M 2...

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to walk a volume?
A cube, side size N, I want to walk from the center going out, walking on each shell, each step can only add 1 to one direction....

circa 10 anni fa | 0 risposte | 0

0

risposte

Domanda


4D-Wavelet or wavedec4?
How can I perform a 4D wavelet? Is there a wavedec4? Does anybody know a place that has the script available for doing someth...

circa 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How to convert string to Matlab command line (function)?
We want to make a text line into a function with variable length according to the situation: functext = ''; for nt =1:N,...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How to write function according to variables? fminspleas
fminspleas in file exchange seems to be a very good tool. I wonder if anyone has good experience on it. If the data can be re...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to perform this Complex Exponential Fitting?
Experiment result can be represented as a sum of damped exponential, sum over 1..k. y(n)=sum(a(k)*exp(-(d(k)+j*w(k))*n+j*p(...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Risposto
[DEPRECATED] What frustrates you about MATLAB?
1. the newly implemented microsoft style of top menus. 2. lack of easy viewing property / function list: a. properties (e.g....

quasi 11 anni fa | 1

Domanda


imread png vs gif
It looks imread .gif and .png are different. Please help to read the image right. [X,map] = imread('matlabicon.gif'); ...

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


How to call matlab built-in common functions, such as open, save as, in GUI?
I'm new to GUI. I had this: f = uimenu(h0,'Label','File'); uimenu(f,'Label','Open P-file','Callback','open'); ...

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Warning: Unable to interpret TeX string
The error shows up when using this: 306 saveas(gcf,save_jpg); Warning: Unable to interpret TeX string "M:\Data\D20141...

circa 11 anni fa | 1 risposta | 0

1

risposta

Risposto
How to let the matlab to remember the previous directory?
When you "save", matlab always prompt the user interface for folders and file name. Instead of going to "default' directory, mat...

circa 11 anni fa | 1

Domanda


How to let the matlab to remember the previous directory?
I have this task daily: Many plots are generated within the same "run". Then I check each of them. If it's good, I save it t...

circa 11 anni fa | 3 risposte | 0

3

risposte

Domanda


How to reshape matrix in this way?
When reshape a 3D matrix into 2D matrix, it fills columns first; for example: a(3,3,4) = 1 1 1 1 1 1 1 1 1 ...

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Can the 'save as' or 'print' size be customer configured?
The question came from the publication figures. People use 'Adobe Illustrator' and other alternatives to produce vector figures....

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


What's the best format to export figure?
.jpg, etc... doesn't seem to be good format for "word" to publish. How to export or print the figures in good, better scale-able...

oltre 11 anni fa | 3 risposte | 0

3

risposte

Domanda


How to plot POLAR graph as this?
Rhos are known in (x,y) or (rho, theta) format. How can it be plot as bellow or similar. Thanks. <</matlabcentral/answers/...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


How to do polar plot correctly?
The task is to plot each group in different symbol and color and show them at their "angle" location in polar plot. This script ...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risposto
How to plot MESH only in black?
Unless using 'shading interp', both mesh and surf will plot the line linking 2 lines which is not desirable. [x,y] = meshgrid...

oltre 11 anni fa | 0

Domanda


How to multiply a window function to one dimension?
Here is a Matlab script to apply a fixed window function along one dimension. Although it works, but is not elegant as a Matlab ...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risposto
How to plot MESH only in black?
'edgecolor' isn't a good way. It plots the "baseline" and appears very messy.

oltre 11 anni fa | 0

Domanda


How to plot MESH only in black?
Can the 'mesh' plot be in a single color, say black, and not in color map? Thanks.

oltre 11 anni fa | 5 risposte | 1

5

risposte

Risposto
Replacing the column of array elements with NaN.
Explain the relationship of your x and Out_Arr.

oltre 11 anni fa | 0

Domanda


How to plot Waterfall x-dir reversed and remove the baseline plot?
<</matlabcentral/answers/uploaded_files/13427/waterfall.jpg>> On this waterfall plot, some changes would like to be done: ...

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


How to plot a stack of curves in Matlab, as attached figure?
Hope it is possible with matlab to plot a stack of curves, better with hidden lines, like this attached figure: <</matlabcent...

circa 12 anni fa | 3 risposte | 0

3

risposte

Domanda


How to maximize the plotting area?
<</matlabcentral/answers/uploaded_files/5116/figure.jpg>> The plotted figure or image always has empty area around the plotte...

circa 12 anni fa | 0 risposte | 1

0

risposte