已回答
Convert symbolic solution into real number?
double(POI_mat) or vpa(POI_mat)

14 years 前 | 1

已回答
how can i consider a good output response after concersion of discrete transfer function to continuours transfer function.
Simple and easy way: <http://www.engin.umich.edu/group/ctm/digital/digital.html#statrans Stability and transient response> Bes...

14 years 前 | 0

| 已接受

已回答
Anonymous functions with 2 ou more outputs?
m=[1 2;3 4;5 6] fcol=@(x)deal(x(:,1),x(:,2)) [a b]=fcol(m) In this simple case you only got 2 columns but you can expand ...

14 years 前 | 10

| 已接受

提问


How to programatically send Update Diagram command to Simulink
I stumble upon a problem in my project, there's one GUI that controls the simulation and that GUI changes variables on MATLAB wo...

14 years 前 | 3 个回答 | 2

3

个回答

已回答
RBBOX problem
You are using the code in a wrong way, you press and realease the button in the same point without moving the mouse. Press th...

14 years 前 | 0

已回答
Change the name of the output file as a loop computes
for zloop=1:pixel_dimension; z=zloop; calculate the function based on x y and the changing z value F(x,y,z) ...

14 years 前 | 0

| 已接受

已回答
Setting static text box's string
Are you really sure that the error is caused by that line of code? I'm not :)

14 years 前 | 0

已回答
How to plot so that its figure window doesn't become on top?
f=figure %create a new figure set(f,'Visible','off') %hide the figure Just when you want to see the figure set(f,'V...

14 years 前 | 0

已回答
Display matrix values with color coding
m=zeros(8,8)+5; %orange m(2,5)=8.0;m(1,6)=8.4;m(1,7)=8.6;m(1,8)=8.7;m(2,7)=8.6;m(2,8)=8.3; %dark green m(1,4)=7.7;m(1,...

14 years 前 | 1

| 已接受

已回答
Passing variables to other gui
<http://www.mathworks.com/help/techdoc/creating_guis/f5-998352.html Ways to Manage Data in a GUIDE GUI> <http://blogs.mathwor...

14 years 前 | 0

已回答
Wait to enable an "OK" button unitl empty text boxes are filled
You don't say if you are using GUIDE so here are just a few tips, start the GUI with the editboxes all empty and the button disa...

14 years 前 | 0

已回答
Waiting for a Timer object to compelte a Task
b=uicontrol('Style','pushbutton','callback',@pbcallback... 'String','reset x','Position',[315,180,70,25]); ...

14 years 前 | 0

已回答
About Matlab Code
clf r=1; rectangle('Position',[-1,-1,2*r,2*r],'Curvature',[1,1]) axis([-1 1 -1 1]) hold on n=1000; x=-1+2*r*rand(n...

14 years 前 | 0

| 已接受

已回答
How to stop matlab M file from stopping my program when error occur?
%inside your loop try %put here the code that might fail catch %do something if error occurs end

14 years 前 | 1

已回答
obtaining coeff. of syms function
a=1;b=2;c=3;d=4;e=5; syms x s=a*x^4+b*x^3+c*x^2+d*x+e c=coeffs(s) The c vector is what you want, the index values are i...

14 years 前 | 0

| 已接受

已回答
get rid of e notation
No it's not stopping you unless the variable is a string instead of a number, please provide more details.

14 years 前 | 0

已回答
How to create variable with special characters like [ ] { } etc
No and would be a bad idea if you could do it.

14 years 前 | 0

已回答
Figure with Plot and Martix
x=rand(10,1); figure(1) subplot(2,1,1) plot(x) subplot(2,1,2); t=1:numel(x); hold on arrayfun(@(v)text(...

14 years 前 | 0

已回答
Show diference between two signals
Do something similar to this a=[0 5 6 7 8] b=[0 5 6 8 8] if any(~(a==b)) %if any index is diferent show error disp...

14 years 前 | 1

| 已接受

已回答
The simulation time as a parameter
Maybe using the Clock block

14 years 前 | 1

| 已接受

已回答
Basic Graphics Question: Array of 1's and 0's
imagesc(~foo) colormap(gray) or colormap('gray') just to be safe, in case you overwrite the variable gray with something el...

14 years 前 | 2

| 已接受

已回答
Can multiple MATLAB version installs coexisting on the same machine?
Yes, two, three and many more.

14 years 前 | 0

已回答
retrieve coefficients from multivariable symbolic equation.
The first question can be solved by messing around with coeffs and using the imagination, second question I have no idea s=...

14 years 前 | 0

已回答
Does EXIST work in GUIDE (GUI)
Inside your GUI or any function: e=evalin('base','who'); %get all the variables names present in the workspace if ismemb...

14 years 前 | 1

已回答
how to write a function to find max & min value in array
Have a look at <http://blogs.mathworks.com/videos/ Doug’s MATLAB Video Tutorials> and <http://www.mathworks.com/help/techdoc/ref...

14 years 前 | 0

已回答
Symplifying numerical expression in Symbolic Math
try this double(LongExpression) or vpa(LongExpression) where LongExpression is your expression.

14 years 前 | 0

| 已接受

已回答
GUI register?
Like Prabhakar said use assignin a=imread(fullpath); assignin('base','a',a);

14 years 前 | 1

已回答
Clear image in GUI?
Just delete the children of the current axes delete(get(gca,'Children')) The buttondownfcn of the axes remains unchanged...

14 years 前 | 1

已回答
plot line in image via GUI?
Just for fun I created one blank GUI with GUIDE and inserted this code in the OpeningFcn, all works fine, next I put the code on...

14 years 前 | 0

已回答
hist problem
unique(out) gives 25, that means you ask for 25 bins, you can see it because you get counts and values with 25 elements. do i...

14 years 前 | 0

| 已接受

加载更多