已回答
semilogy([34,34],[0,22222]) does not show vertical line
I got it. I cannot use zero in log plot, use 0.00000001 or so instead.

7 years 前 | 0

| 已接受

提问


semilogy([34,34],[0,22222]) does not show vertical line
I need to plot a vertical line in a figure with log y-axis: semilogy([34,34],[0,22222]); But the figure does not show th...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Convert char to number behaves different in command window and m script file
A =[ 266 316 316 365 366 375 377 362 365 341 345 354 360 345 353 340 350 354 366 405 4...

7 years 前 | 1 个回答 | 1

1

个回答

提问


How to align colorbar YTickLabel as middle/left/right?
imshow('rice.png') h = colorbar; h.YTickLabel = cellstr([char(num2str([1,5000000,1000,5000,10000,15000]')),repmat(' (USD...

7 years 前 | 0 个回答 | 0

0

个回答

提问


Error about "plotfdesign": Expected a string for the parameter name, instead the input type was 'double'.
Hi, I was using the function plotfdesign and using the example in that file but error appears: g= repmat(fullfact([2 2]),1...

7 years 前 | 0 个回答 | 0

0

个回答

提问


How to calcululate the distance between 3D matrix elements to plane "Ax+By+Cz+D = 0" in a vectorized manner?
I have a 3D matrix M M = zeros(405,706,1932); Suppose putting matrix M into the x-y-z coordinate,with the x-axis indicati...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
Double Click M File Opens New Matlab Session
When I Set matlab as admin mode to all users, the same problem appeared.

8 years 前 | 0

提问


When I use dos command to start Matlab, how can I specify it run as administrator for that time?
When I use dos command to start Matlab, how can I specify it run as administrator? I use the system('matlab -nosplash -...

8 years 前 | 1 个回答 | 0

1

个回答

已回答
using System() with administrator privilages
This also solved my problem. Thanks Edward. I fixed the problem by closing MATLAB and reopening it with administrator privi...

8 years 前 | 0

已回答
A problem about the lost of ' when I start matlab function using command with string as input argument.
Solved by using the ASCII number matrix as input: such as CMDEntryExitSuperColoc([23,54,76,98,23,46,68,89,23]) ...

8 years 前 | 0

| 已接受

提问


A problem about the lost of ' when I start matlab function using command with string as input argument.
I have a function called CMDEntryExitSuperColoc, with a file path string as input. In the 1st attempt, I could run this funct...

8 years 前 | 2 个回答 | 0

2

个回答

提问


How to restart PC and then automatically run a vbs script generated by Matlab before restart?
How to restart PC and then automatically run a vbs script generated by Matlab before restart? I have a matlab script that if ...

8 years 前 | 1 个回答 | 0

1

个回答

已回答
Alt+tab not working
Yes. indeed on my computer, although press Alt-Tab works, but sendkeys not work. However, justnow I found that Alt-Esc also...

8 years 前 | 0

提问


How to get the real-time position of mouse outside matlab
The function below get the current position of mouse on anywhere of the desktop even outside matlab. As I input C = get(...

8 years 前 | 1 个回答 | 0

1

个回答

已回答
How do I continuously read the mouse position as the mouse is moving, without a click event?
edited Jan 7 '15 at 17:07 answered Jan 7 '15 at 7:38 Are you sure MATLAB can only get the mouse co-ordinates within a GUI? It's ...

8 years 前 | 2

已回答
how to combine strfind and index in one line?
newname = 'aasw_43w-f45_rmg-rk_dwfewf_rgrg_v-b'; eval('nich = strfind(newname,''_''); nich(length(strfind(newname,''_''))-1...

8 years 前 | 0

提问


how to combine strfind and index in one line?
I tried to run strfind(argument,argument)(1) to return the first hit position, but matlab returns a error. It seems that I n...

8 years 前 | 3 个回答 | 0

3

个回答