提问


How to plot a patch?
I have a plot, but I want to crop a rounded rectangle area from it. For example I have a sinusoid plane wave image plot, and I w...

8 years 前 | 2 个回答 | 0

2

个回答

提问


How to set paper size and aspect ratio properly?
I've set the figure size like this: set(gcf,'unit','pixel','position',[0 0 1400 800]); How to set paper size for pdf if I want...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Is it possible to set YAxisLocation 'left' and 'right' at the same time?
Is it possible to set YAxisLocation 'left' and 'right' at the same time?

8 years 前 | 1 个回答 | 0

1

个回答

提问


Is it possible to control xtick size/height?
Is it possible to control xtick size. My problem is that xtick size is different in different subplots by default. (if axes are ...

8 years 前 | 2 个回答 | 0

2

个回答

提问


Is it possible to use axis tics lables without xtics?
Is it possible to use axis tics lables without xtics?

8 years 前 | 2 个回答 | 0

2

个回答

提问


How to get subset indices?
I have M = [1 2 3 6 7 8]; and x = [3 7 8]; And I want to get indices [3 5 6], so M(indices) = x;

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to get real screen size?
For a MacBook retina display with get(0,'ScreenSize') I get [1 1 1280 800]; Why?

8 years 前 | 2 个回答 | 1

2

个回答

提问


How to extract value property pairs?
Are there any built in function for checking given input parameters by name-value pairs? Lots of standard MATLAB function use th...

8 years 前 | 2 个回答 | 0

2

个回答

提问


Is it possible to check properties of a function by its handle?
Is it possible to check input functions? For example is it the identity function, or is it constant?

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to pass anonymus function handle to functions?
As I see in the documentation, this is the method: fun = @(x)x./(exp(x)-1); q4 = integral(fun,0,Inf); However this is very st...

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to deactivate a licence or is it necessary in the following situation?
I've installed a new OSX on my MacBook and install a newer MATLAB version on the new system. It is working now, but I think I ha...

8 years 前 | 1 个回答 | 0

1

个回答

已回答
Why does MATLAB fail to load my preferred language on macOS Sierra?
I would like to run MATLAB 2013b on Sierra, but window with title "Error Starting Desktop" appears. Lots of error messages are i...

8 years 前 | 0

提问


How to draw nice dotted lines?
My problem is that I want to save from MATLAB figure window to eps with the save as menu. But dotted lines appear very ugly!

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to change gap between legend line and legend text?
How to change (horizontal) gap between legend line and legend text?

8 years 前 | 3 个回答 | 0

3

个回答

提问


Random seed has to be an integer?
Is it possible to use float random seeds?

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to reach older versions help pages?
For example I am using 2013b, and mnrfit example from the help page (2016) is not working for me: load fisheriris; sp = catego...

8 years 前 | 2 个回答 | 0

2

个回答

提问


How to convert a matrix to cell array of vectors?
I have a matrix M x N matrix: R. r1 = R(1,:); r2 = R(2,:); etc. How to create cell array {r1,r2,...} from R automatically?

8 years 前 | 1 个回答 | 0

1

个回答

提问


Is it possible to evaluate several observation with one mnrval call?
In the .m file I can read the following: PHAT = MNRVAL(B,X) computes predicted probabilities for the nominal multinomial logisti...

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to use arrayfun with a function having two vector arguments?
I have a function f(W,x), where W is a matrix and x is a vector. I would like to use arrayfun to calculate the f(W,x) for severa...

8 years 前 | 3 个回答 | 0

3

个回答

提问


What is the matrix operation mnrval does with its inputs?
mnrval(M,p) = ? I am asking this, because I have to test the performance of the learned decoder, but it is very slow with a h...

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to set color scaling?
I would like to plot a surface or matrix with colors. How to set a linear scaling automatically by defining z1 to be color1 and...

8 years 前 | 1 个回答 | 0

1

个回答

提问


There is no meshgrid generator for arbitrary large dimensions?
I would like to use meshgrid like function but greater 2 or 3 dimensions. Is it possible?

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to extract number of fields and name of fields from a structure?
I have s.a = 1; s.b = 'abc'; s.c = []; How to extract the name of the fields: 'a', 'b', 'c'? And the number of fields: 3 (in th...

8 years 前 | 2 个回答 | 0

2

个回答

提问


How to delete a subfield from a structure?
I have mystruct which have mystruct.data(1).x, mystruct.data(2).x, mystruct.data(1).y, mystruct.data(2).y, etc. How to delete m...

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to convert struct filed to cell array before R2016a?
How to convert struct filed to cell array before R2016a? I want to convert mystruct(:).name to {'name1','name2','name3'}, whe...

8 years 前 | 1 个回答 | 0

1

个回答

提问


Is it possible to extract all fields from a structure automatically?
I have data in the form: mydata.x = 100; mydata.s = 'abc'; mydata.Y = [1 2 3]; And I want variables x = 100; s = 'abc'; Y = [1 ...

8 years 前 | 4 个回答 | 1

4

个回答

提问


How to merge loaded data structures?
I have a data1.mat file with data: mydata.x = 1; mydata.y = 2; mydata.a = 'yes'; mydata.Z = [1 2 3]; And I have d...

8 years 前 | 1 个回答 | 0

1

个回答

提问


How to write a function with two kind of output modes?
How to write a function which can be used as y = myfunc(), or [y,z] = myfunc() ?

8 years 前 | 1 个回答 | 0

1

个回答

提问


Is it possible to extract noise level if signal is unknown?
I have a signal + noise (for example Gauss) as a function of time. But I dont know the analytic model of the signal. Typically t...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Are there any element function in MATLAB?
for example I cannot run this: sort(x)(1) nor (sort(x))(1), but I want to do this somehow in one line, for example with a built ...

8 years 前 | 1 个回答 | 0

1

个回答

加载更多