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년 초과 전 | 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 0 | 0
0
답변제출됨
google.m is a simple shell interface to initiate Google search in Matlab.
11년 초과 전 | 다운로드 수: 1 |
제출됨
remove varables in MAT file(s)
Want to delete same variables in possibly many MAT files? removevar is for you!
11년 초과 전 | 다운로드 수: 2 |
제출됨
select current object
select current object by buttons. Each button represents one object which is either axes, image, etc
거의 12년 전 | 다운로드 수: 1 |
제출됨
saves variables into MAT file matfile
saves variables into MAT file matfile
거의 12년 전 | 다운로드 수: 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!
거의 12년 전 | 다운로드 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 0