已回答
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 ...

10 years 前 | 0

提问


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

10 years 前 | 2 个回答 | 0

2

个回答

已解决


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

10 years 前

提问


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

10 years 前 | 2 个回答 | 0

2

个回答

提问


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

10 years 前 | 1 个回答 | 0

1

个回答

提问


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

10 years 前 | 0 个回答 | 0

0

个回答

提问


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

10 years 前 | 0 个回答 | 0

0

个回答

提问


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

10 years 前 | 0 个回答 | 0

0

个回答

提问


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

10 years 前 | 1 个回答 | 0

1

个回答

提问


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

10 years 前 | 1 个回答 | 0

1

个回答

已回答
[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....

11 years 前 | 1

提问


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

11 years 前 | 1 个回答 | 0

1

个回答

提问


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'); ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


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

11 years 前 | 1 个回答 | 0

1

个回答

已回答
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...

11 years 前 | 1

提问


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

11 years 前 | 3 个回答 | 0

3

个回答

提问


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

11 years 前 | 1 个回答 | 0

1

个回答

提问


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

11 years 前 | 1 个回答 | 0

1

个回答

提问


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

11 years 前 | 3 个回答 | 0

3

个回答

提问


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

11 years 前 | 1 个回答 | 0

1

个回答

提问


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

11 years 前 | 1 个回答 | 0

1

个回答

已回答
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...

11 years 前 | 0

提问


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

11 years 前 | 1 个回答 | 0

1

个回答

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

11 years 前 | 0

提问


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

11 years 前 | 5 个回答 | 1

5

个回答

已回答
Replacing the column of array elements with NaN.
Explain the relationship of your x and Out_Arr.

11 years 前 | 0

提问


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

11 years 前 | 0 个回答 | 0

0

个回答

提问


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

12 years 前 | 3 个回答 | 0

3

个回答

提问


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

12 years 前 | 0 个回答 | 1

0

个回答