photo

Chaowei Chen


University of Maryland

Active since 2011

Followers: 1   Following: 0

Message

Professional Interests: Human machine interface, integration of software and hardware, image processing, microscopy, convex optimization

Statistics

All
  • 5-Star Galaxy Level 2
  • First Review
  • First Submission
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
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 ago | 0

| accepted

Question


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...

8 years ago | 0 answers | 0

0

answers

Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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...

8 years ago | 0 answers | 0

0

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Answered
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 ago | 0

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

Answered
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 ago | 1

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Answered
How to use spatial image coordinates to get image pixel values??
You are almost there. ROI=roipoly(img); pixValue=img(ROI);

13 years ago | 0

Answered
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 ago | 0

Answered
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 ago | 1

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 1

Answered
Generalized eigenvalue problem
If V'*B*V = I, This indicates B is identity matrix, therefore, simply [V,D] = eig(A)

13 years ago | 0

Answered
Change file extension from .wav to .res
Supposing you just want to rename the file, do this ! ren temp.wav temp.res

13 years ago | 0

Answered
Fourier Series Coefficients
fft does not require a specific number of samples to work. Equivalently, it works because fft pads zeros to your sample. If y...

13 years ago | 0

| accepted

Answered
input prompt
for i=1:30 g=input(['enter ' int2str(i) ' th line']); end

13 years ago | 1

| accepted