Feeds
已回答
Creating a movie sequence from rgb images
for frame_idx = start_frame:end_frame image = dataset(:,:,frame_idx); msk = mask_stack(:,:,frame_idx); ...
Creating a movie sequence from rgb images
for frame_idx = start_frame:end_frame image = dataset(:,:,frame_idx); msk = mask_stack(:,:,frame_idx); ...
7 years 前 | 0
| 已接受
提问
The command line is too long. Error: An error occurred while shelling out to javac (error code = 1). Unable to build executable.
I am using mcc to build java classes from .m files The command is following: mcc -W "java:matlabapi,DefaultClass" -T lin...
9 years 前 | 0 个回答 | 0
0
个回答提问
The command line is too long. Error: An error occurred while shelling out to javac (error code = 1). Unable to build executable.
I am using mcc to build java classes from .m files The command is following: mcc -W "java:matlabapi,DefaultClass" -T link:li...
9 years 前 | 1 个回答 | 0
1
个回答提问
The command line is too long. Error: An error occurred while shelling out to javac (error code = 1). Unable to build executable.
I am using mcc to build java classes from .m files The command is following: mcc -W "java:matlabapi,DefaultClass" -T link:li...
9 years 前 | 0 个回答 | 0
0
个回答已提交
google.m is a simple shell interface to initiate Google search in Matlab.
11 years 前 | 1 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/41042/versions/2/screenshot.png)
已提交
remove varables in MAT file(s)
Want to delete same variables in possibly many MAT files? removevar is for you!
11 years 前 | 2 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/40532/versions/1/screenshot.png)
已提交
select current object
select current object by buttons. Each button represents one object which is either axes, image, etc
11 years 前 | 1 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/38985/versions/2/screenshot.png)
已提交
saves variables into MAT file matfile
saves variables into MAT file matfile
11 years 前 | 1 次下载 |
已提交
loads one variable from MAT-file(s) into workspace
Need to load a same variable from a list of MAT files? This is for you!
11 years 前 | 1 次下载 |
提问
change shorkeys "ctrl+shift+0" for editor
I understand that ctrl+shift+0 focuses window to the editor. I wonder if it is possible to change "ctrl+shift+0" to "ctrl+~" fo...
12 years 前 | 1 个回答 | 0
1
个回答提问
how to set position and outerposition respectively the same as from another axes?
I want to display a scalebar on a 3d plot. When I rotate the 3d plot, I want to keep the scalebar still. The way I approach it i...
12 years 前 | 1 个回答 | 0
1
个回答已回答
how to draw a hyperboloid?
[x,y]=meshgrid(-10:10); r_sq=x.^2+y.^2; z=sqrt(r_sq+1); surf(x,y,z)
how to draw a hyperboloid?
[x,y]=meshgrid(-10:10); r_sq=x.^2+y.^2; z=sqrt(r_sq+1); surf(x,y,z)
13 years 前 | 0
已回答
make result matrix for comparing of (for example) 20 inputs matrix with 20 refrences matrix
You can use cell matrix, which contains mixed type of values. In your case, the first column and row are string while the rest ...
make result matrix for comparing of (for example) 20 inputs matrix with 20 refrences matrix
You can use cell matrix, which contains mixed type of values. In your case, the first column and row are string while the rest ...
13 years 前 | 1
| 已接受
已回答
How to catch reaction time with MATLAB; How to save text file from command window automatically
1. doc diary 2. I think the problem happens at kp=find(kp) It means wherever kp is nonzero, assign the position to kp. My m...
How to catch reaction time with MATLAB; How to save text file from command window automatically
1. doc diary 2. I think the problem happens at kp=find(kp) It means wherever kp is nonzero, assign the position to kp. My m...
13 years 前 | 0
已回答
Inline Indexing to Dynamic Field Names
Varnames={'var1', 'var2', 'varx', 'vary'}; %if varx is scalar TestStruct.(Varnames{1,3}) = 0 %if varx is array TestS...
Inline Indexing to Dynamic Field Names
Varnames={'var1', 'var2', 'varx', 'vary'}; %if varx is scalar TestStruct.(Varnames{1,3}) = 0 %if varx is array TestS...
13 years 前 | 1
已回答
To get dominant eigen vector
[U,S,V]=svd(C) gives you the singular value decomposition of C. i.e., C=U*S*V' where the singular values S are in decreasing or...
To get dominant eigen vector
[U,S,V]=svd(C) gives you the singular value decomposition of C. i.e., C=U*S*V' where the singular values S are in decreasing or...
13 years 前 | 1
| 已接受
已回答
how to draw tangent line simulink graph ?
function plot_tangent(x,y) if nargin<2, x=1:0.01:10;y=sin(x); end s=diff(y)./diff(x); f_tangent=@(a...
how to draw tangent line simulink graph ?
function plot_tangent(x,y) if nargin<2, x=1:0.01:10;y=sin(x); end s=diff(y)./diff(x); f_tangent=@(a...
13 years 前 | 0
已回答
Play Video in MATLAB GUI with other Objects
function main [f,p]=uigetfile('*.avi');cd(p) h_play=uicontrol('style','pushbutton','callback',@play_vid,'string','pl...
Play Video in MATLAB GUI with other Objects
function main [f,p]=uigetfile('*.avi');cd(p) h_play=uicontrol('style','pushbutton','callback',@play_vid,'string','pl...
13 years 前 | 0
已回答
Play Video in MATLAB GUI with other Objects
function main vid = videoinput('winvideo', 1); figure; h_play=uicontrol('style','pushbutton','callback',@play_vid,'stri...
Play Video in MATLAB GUI with other Objects
function main vid = videoinput('winvideo', 1); figure; h_play=uicontrol('style','pushbutton','callback',@play_vid,'stri...
13 years 前 | 0
已回答
Play Video in MATLAB GUI with other Objects
function main(var_3D) if nargin<1, var_3D=randn(100,100,100);end [R,C,Frame]=size(var_3D); h_play=uicontrol('st...
Play Video in MATLAB GUI with other Objects
function main(var_3D) if nargin<1, var_3D=randn(100,100,100);end [R,C,Frame]=size(var_3D); h_play=uicontrol('st...
13 years 前 | 0
| 已接受
已回答
How to use spatial image coordinates to get image pixel values??
You are almost there. ROI=roipoly(img); pixValue=img(ROI);
How to use spatial image coordinates to get image pixel values??
You are almost there. ROI=roipoly(img); pixValue=img(ROI);
13 years 前 | 0
已回答
How to scan a user-input sentence/phrase for the individual words
Just a subtle improvement to Jiang's approach. (To get rid of the period symbol) InputText='This is is my testing speech.'; ...
How to scan a user-input sentence/phrase for the individual words
Just a subtle improvement to Jiang's approach. (To get rid of the period symbol) InputText='This is is my testing speech.'; ...
13 years 前 | 0
已回答
How can i extend my graph to a certain point in the graph
I think you probably just want to do axis([0 16 0 500])
How can i extend my graph to a certain point in the graph
I think you probably just want to do axis([0 16 0 500])
13 years 前 | 1
已回答
autocorrelate rows of matrix without using a for loop
The idea is to convert mat to cell since each row is independent. After processing, convert cell back to mat. a2=mat2cell(a,...
autocorrelate rows of matrix without using a for loop
The idea is to convert mat to cell since each row is independent. After processing, convert cell back to mat. a2=mat2cell(a,...
13 years 前 | 0
已回答
I need to import a file of unsupported format into Matlab (multiple image sequence)
Does the file follows a certain format like tif? In this case, frame_k = imread('filename.tif',k); If it is a custom format,...
I need to import a file of unsupported format into Matlab (multiple image sequence)
Does the file follows a certain format like tif? In this case, frame_k = imread('filename.tif',k); If it is a custom format,...
13 years 前 | 0
已回答
Delete/Hide points of a surface
figure;hold on; h1=plot(1,1,'b.'); h2=plot(2,2,'r.'); hold off % if you want to hide h2 set(h2,'visible','off') % if...
Delete/Hide points of a surface
figure;hold on; h1=plot(1,1,'b.'); h2=plot(2,2,'r.'); hold off % if you want to hide h2 set(h2,'visible','off') % if...
13 years 前 | 0
已回答
put time stamp on video using videowrite
clc;clear;close all vid = videoinput('winvideo', 1); set(vid,'TriggerRepeat',Inf); vid.FrameGrabInterval = 1; vid_sr...
put time stamp on video using videowrite
clc;clear;close all vid = videoinput('winvideo', 1); set(vid,'TriggerRepeat',Inf); vid.FrameGrabInterval = 1; vid_sr...
13 years 前 | 1
已回答
Generalized eigenvalue problem
If V'*B*V = I, This indicates B is identity matrix, therefore, simply [V,D] = eig(A)
Generalized eigenvalue problem
If V'*B*V = I, This indicates B is identity matrix, therefore, simply [V,D] = eig(A)
13 years 前 | 0
已回答
Change file extension from .wav to .res
Supposing you just want to rename the file, do this ! ren temp.wav temp.res
Change file extension from .wav to .res
Supposing you just want to rename the file, do this ! ren temp.wav temp.res
13 years 前 | 0