Matt Fig
Followers: 0 Following: 0
統計
All
Feeds
回答済み
How can I change the font size of the current axis?
To change the font size, set the FontSize property on the axes object after plotting. For example: x = rand(10,10); y = rand(10...
How can I change the font size of the current axis?
To change the font size, set the FontSize property on the axes object after plotting. For example: x = rand(10,10); y = rand(10...
3年以上 前 | 29
| 採用済み
送信済み
Fast View Factor Computation
Computes the view factors for two 3D planer polygons
9年以上 前 | ダウンロード 3 件 |
回答済み
Display rational numbers using fprintf
T = 1/3; fprintf('The number is: %s\n',strtrim(rats(T)))
Display rational numbers using fprintf
T = 1/3; fprintf('The number is: %s\n',strtrim(rats(T)))
13年弱 前 | 2
| 採用済み
回答済み
Faster way of writing this code: (finding index)
That code does not return an index, but it does return the number of values in vector quantiles that are smaller than input.
Faster way of writing this code: (finding index)
That code does not return an index, but it does return the number of values in vector quantiles that are smaller than input.
約13年 前 | 0
回答済み
Breaking Quotes for Printmat
If I were you I would just use FPRINTF to print your array. I would offer you an example, but I don't know what you mean by "Is ...
Breaking Quotes for Printmat
If I were you I would just use FPRINTF to print your array. I would offer you an example, but I don't know what you mean by "Is ...
約13年 前 | 0
回答済み
Create a matrix with Special properties
V0 = 10; a = 5; V1 = V0 + randi([-100 140]) + a; V2 = V1 + randi([-100 140]) + a; matrix = [V0,randi([-100 140]),a...
Create a matrix with Special properties
V0 = 10; a = 5; V1 = V0 + randi([-100 140]) + a; V2 = V1 + randi([-100 140]) + a; matrix = [V0,randi([-100 140]),a...
約13年 前 | 0
| 採用済み
回答済み
index exceeds matrix dimention
What is the Q doing there? We need to see code that we can copy/paste and *_it will run_*. So please fill in the missing varia...
index exceeds matrix dimention
What is the Q doing there? We need to see code that we can copy/paste and *_it will run_*. So please fill in the missing varia...
約13年 前 | 0
回答済み
A simple question about working with array matrix and converting a column to multiple columns
reshape(X,50,12) Or perhaps reshape(X,12,50).'
A simple question about working with array matrix and converting a column to multiple columns
reshape(X,50,12) Or perhaps reshape(X,12,50).'
約13年 前 | 1
| 採用済み
回答済み
adding breakpoint to program slows it down a factor of 250x
It makes sense to me that MATLAB would be slower when you are debugging. So what is the big deal? You won't be in debug mode o...
adding breakpoint to program slows it down a factor of 250x
It makes sense to me that MATLAB would be slower when you are debugging. So what is the big deal? You won't be in debug mode o...
約13年 前 | 0
| 採用済み
回答済み
I need help with the Matlab R2007b commands
If you have MATLAB installed then you can look at the documentation by typing: docsearch('image processing toolbox') The...
I need help with the Matlab R2007b commands
If you have MATLAB installed then you can look at the documentation by typing: docsearch('image processing toolbox') The...
約13年 前 | 0
回答済み
how to enable rotate3d for guide axes?
Use the command: rotated3d on After the code that plots the surf.
how to enable rotate3d for guide axes?
Use the command: rotated3d on After the code that plots the surf.
約13年 前 | 0
回答済み
Problem Saving Workspace - No Error Message
Of course, it would be immenseley helpful, and might actually allow a solution to be put forward, if you describe *in detail* wh...
Problem Saving Workspace - No Error Message
Of course, it would be immenseley helpful, and might actually allow a solution to be put forward, if you describe *in detail* wh...
約13年 前 | 0
回答済み
Concatenate cells: making column and row headers
row={'cat1'; 'cat2'; 'cat3'}; col={'mouse1' 'mouse2' 'mouse3'}; figure t = uitable('Data',[],... 'Colu...
Concatenate cells: making column and row headers
row={'cat1'; 'cat2'; 'cat3'}; col={'mouse1' 'mouse2' 'mouse3'}; figure t = uitable('Data',[],... 'Colu...
約13年 前 | 0
回答済み
[GUI] How do you fill a Listbox with documents from a specific folder
The most basic example... D = dir; uicontrol('style','list',... 'units','pix',... 'pos',[20 20...
[GUI] How do you fill a Listbox with documents from a specific folder
The most basic example... D = dir; uicontrol('style','list',... 'units','pix',... 'pos',[20 20...
約13年 前 | 0
| 採用済み
回答済み
About matrix: how to make matrix binary (0 and 1)
S = dec2bin((1:32).') % If a string is o.k. N = S - '0' % If you need a numeric matrix.
About matrix: how to make matrix binary (0 and 1)
S = dec2bin((1:32).') % If a string is o.k. N = S - '0' % If you need a numeric matrix.
約13年 前 | 0
回答済み
i want to plot the graph between the probability of false alarm and probability of detection
# Format your code. # Give a description of what it does and what is wrong # State _clearly_ what you need it to do.
i want to plot the graph between the probability of false alarm and probability of detection
# Format your code. # Give a description of what it does and what is wrong # State _clearly_ what you need it to do.
約13年 前 | 0
回答済み
How can i create a standard matlab template for new programs
You could put that code in an m-file then use COPYFILE to copy it to a new m-file, including the intended name. Say your abov...
How can i create a standard matlab template for new programs
You could put that code in an m-file then use COPYFILE to copy it to a new m-file, including the intended name. Say your abov...
約13年 前 | 1
| 採用済み
回答済み
what is difference in cell and structure plz tell me with example
There is good documentation on this, did you read: doc cell doc struct Here is a cell array: C{1} = magic(3)...
what is difference in cell and structure plz tell me with example
There is good documentation on this, did you read: doc cell doc struct Here is a cell array: C{1} = magic(3)...
約13年 前 | 3
回答済み
Error in Quad, suggestions required ?
Don't mix inlines with symbolics this way. syms E m R T f1 = int((0.99954.*E + ((0.58058-0.044967.*m).*R.*T))./(E + (2...
Error in Quad, suggestions required ?
Don't mix inlines with symbolics this way. syms E m R T f1 = int((0.99954.*E + ((0.58058-0.044967.*m).*R.*T))./(E + (2...
約13年 前 | 0
回答済み
plot of specified data
a=[1;1;1;1;2;2;2;3;3;3;3;4;4;4;4;4;5;5;5]; b=[20;21;22;24;20;22;24;21;19;20;22;23;24;19;23;19;24;23;22]; c=[2;5;1;3;1;3;...
plot of specified data
a=[1;1;1;1;2;2;2;3;3;3;3;4;4;4;4;4;5;5;5]; b=[20;21;22;24;20;22;24;21;19;20;22;23;24;19;23;19;24;23;22]; c=[2;5;1;3;1;3;...
約13年 前 | 0
| 採用済み
回答済み
Quick way to find the point where a vector changes from increasing to decreasing.
D = [10,9,7,5,3,2,1,2,3,5,7]; V = [0 diff(D)>0] % Indicates sign of difference S = find(V,1,'first') % First index whe...
Quick way to find the point where a vector changes from increasing to decreasing.
D = [10,9,7,5,3,2,1,2,3,5,7]; V = [0 diff(D)>0] % Indicates sign of difference S = find(V,1,'first') % First index whe...
約13年 前 | 0
| 採用済み
回答済み
Quotes around the name of the function
Typically, you want to pass a handle to a function, not a string. fsovle(@myfun,x0) % Notice the @ symbol --> a function h...
Quotes around the name of the function
Typically, you want to pass a handle to a function, not a string. fsovle(@myfun,x0) % Notice the @ symbol --> a function h...
約13年 前 | 0
| 採用済み
回答済み
How to solve a simple if loop
# There is no such thing as an IF loop. # IF statements do not filter elements out of an array. # MATLAB does not use a THEN k...
How to solve a simple if loop
# There is no such thing as an IF loop. # IF statements do not filter elements out of an array. # MATLAB does not use a THEN k...
約13年 前 | 1
| 採用済み
回答済み
Aborting callback execution in GUI - Drawnow error
I am not sure why you are using errors to try to cancel an operation. It seems simpler to just have the cancel button set a fla...
Aborting callback execution in GUI - Drawnow error
I am not sure why you are using errors to try to cancel an operation. It seems simpler to just have the cancel button set a fla...
約13年 前 | 0
| 採用済み
回答済み
GUI pop-up menu and push buttons
There are many ways to do this. Here is a simple example that may provide a skeleton for you to fill out. function [] = ...
GUI pop-up menu and push buttons
There are many ways to do this. Here is a simple example that may provide a skeleton for you to fill out. function [] = ...
約13年 前 | 0
回答済み
Is there a way to label a plot with angled text?
You might give <http://www.mathworks.com/matlabcentral/fileexchange/27812-rotate-x-axis-tick-labels this file exchange file a tr...
Is there a way to label a plot with angled text?
You might give <http://www.mathworks.com/matlabcentral/fileexchange/27812-rotate-x-axis-tick-labels this file exchange file a tr...
約13年 前 | 0
| 採用済み
回答済み
[co,fig] = gcbo does not work in slider listener
Use FINDALL. fig = findall(0,'type','figure','tag','myfiguretag')
[co,fig] = gcbo does not work in slider listener
Use FINDALL. fig = findall(0,'type','figure','tag','myfiguretag')
約13年 前 | 0
回答済み
Hello, I am trying to fit some data points with an exponential equation.
>> X = sort(rand(1,10)*30); % Say this is our x data. >> Y = 14*exp(3*X); % Say this is _unknown_ equation. >> pp = po...
Hello, I am trying to fit some data points with an exponential equation.
>> X = sort(rand(1,10)*30); % Say this is our x data. >> Y = 14*exp(3*X); % Say this is _unknown_ equation. >> pp = po...
約13年 前 | 0
回答済み
Convert (x,y) data into a function y => f(x)
You could use POLYFIT, or the curve fitting toolbox or a simple interpolation. >> x = 0:.25:5; >> y = x.^2; >> f = ...
Convert (x,y) data into a function y => f(x)
You could use POLYFIT, or the curve fitting toolbox or a simple interpolation. >> x = 0:.25:5; >> y = x.^2; >> f = ...
約13年 前 | 1
| 採用済み











