Community Profile

photo

Chaowei Chen


University of Maryland

34 total contributions since 2011

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

Contact

Contributions in
View by

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

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

1 year ago | 1 Answers | 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...

1 year ago | 0 Answers | 0

0

answers

Submitted


Sudoku
Solves sudoku puzzle. Generates all possible answers.

3 years ago | 2 downloads |

Thumbnail

Submitted


google
google.m is a simple shell interface to initiate Google search in Matlab.

3 years ago | 9 downloads |

Thumbnail

Submitted


remove varables in MAT file(s)
Want to delete same variables in possibly many MAT files? removevar is for you!

4 years ago | 2 downloads |

Thumbnail

Submitted


select current object
select current object by buttons. Each button represents one object which is either axes, image, etc

4 years ago | 0 downloads |

Thumbnail

Submitted


saves variables into MAT file matfile
saves variables into MAT file matfile

4 years ago | 2 downloads |

Thumbnail

Submitted


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!

4 years ago | 1 downloads |

Thumbnail

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

4 years ago | 1 Answers | 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...

4 years ago | 1 Answers | 0

1

answer

Posted


time stamp for variables
In my application, I derive some variables from some "root" variables. As a simple example, I have a root variable RCF which is ...

4 years ago | 1769 views

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)

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

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

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

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

5 years ago | 0

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

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

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

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

5 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);

5 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.'; ...

5 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])

5 years ago | 0

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

5 years ago | 0

Answered
Creating a movie sequence from rgb images
for frame_idx = start_frame:end_frame image = dataset(:,:,frame_idx); msk = mask_stack(:,:,frame_idx); bound...

5 years ago | 0

| accepted

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

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

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

5 years ago | 1

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

5 years ago | 0

Load more