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

meer dan 8 jaar ago | 0

Question


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

meer dan 8 jaar ago | 2 answers | 0

2

answers

Solved


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

bijna 9 jaar ago

Question


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

bijna 9 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


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

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 9 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

bijna 10 jaar ago | 1

Question


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

bijna 10 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 10 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 10 jaar ago | 1 answer | 0

1

answer

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

bijna 10 jaar ago | 1

Question


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

bijna 10 jaar ago | 3 answers | 0

3

answers

Question


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

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 10 jaar ago | 3 answers | 0

3

answers

Question


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

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 10 jaar ago | 1 answer | 0

1

answer

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

meer dan 10 jaar ago | 0

Question


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

meer dan 10 jaar ago | 1 answer | 0

1

answer

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

meer dan 10 jaar ago | 0

Question


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

meer dan 10 jaar ago | 5 answers | 1

5

answers

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

meer dan 10 jaar ago | 0

Question


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

meer dan 10 jaar ago | 0 answers | 0

0

answers

Question


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

bijna 11 jaar ago | 3 answers | 0

3

answers

Question


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

bijna 11 jaar ago | 0 answers | 1

0

answers