Feeds
질문
how can I print out all the variables of my code?
Hello, how can I print on my screen all my variables of my code? I'm trying to avoid to use twice the same variables and for ...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
How can I fill in a matrix with the data of a multiline edittext box?
Hello, I have a gui with a multiline edittext box and I want for example to write on three lines 9 numbers (3 numbers on each ...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
How big is the polynomial that sym2poly can hold?
How big is the polynomial that sym2poly can hold? For example, I have this y=sym2poly(sym('x^1000')) and it's ok. But if...
13년 초과 전 | 답변 수: 2 | 0
2
답변질문
How do I insert horizontal scroll bar on an 'edit text box'?
Hi!!! I have an edit text box. I changed the 'max' value to '2' to have a multiline edit box but I need to have a horizontal sc...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
how can I convert a decimal to an integer?
how can I convert a decimal to an integer? example 1.232422->1 2123.43242322->2123
13년 초과 전 | 답변 수: 4 | 0
4
답변질문
How can I cut some digits from a number?
How can I cut some digits from a number like this 0.0000005566? How can I keep only the first 4 decimal digits? I use vpa bu...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
Why do I receive "Cell contents reference from a non-cell array object." error?
Why do I receive "Cell contents reference from a non-cell array object." error when I execute this code? handles.num=1; ha...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
what does {:} mean?
Hi all!! when I use a variable with this {:}, what does it mean?
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I round off the coefficients of sys2 polynomial(num/den)?
num=[1 0 0]; den=[1 0 0 1]; sys=tf(num,den) sysd=c2d(sys,0.3) sys2=d2c(sysd)
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
I'm trying to convert a system from c2d and then from d2c but the results are not the same. Why? There is no delay!
My system is: s^2/s^3+1 My code is: num=[1 0 0]; den=[1 0 0 1]; sys=tf(num,den) sysd=c2d(sys,0.3) sys2=d2c(sysd) Why is th...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I plot a bode diagram with random color?
What should I add to this code to have a random color? sys=tf(1,[1 1]) bode(sys)
13년 초과 전 | 답변 수: 5 | 0
5
답변답변 있음
How can I fix this error?
Let's say that we have this system in open loop. sys=tf([1 1 1 1 1 1],[1]); I receive the same error because it is unstab...
How can I fix this error?
Let's say that we have this system in open loop. sys=tf([1 1 1 1 1 1],[1]); I receive the same error because it is unstab...
13년 초과 전 | 0
질문
How can I fix this error?
Hi all! How can I fix this error? sys=tf([1 1 1 1],[1 1]); t=0:0.1:10; step(sys,t) ??? Error using ==> DynamicSystem.st...
13년 초과 전 | 답변 수: 5 | 0
5
답변답변 있음
How can I hold the previous "legend" on a plot?
here is the answer that I was looking for: x=0:.01:10; plot(x, sin(x), 'DisplayName','sin'); legend('-DynamicLegend'); ...
How can I hold the previous "legend" on a plot?
here is the answer that I was looking for: x=0:.01:10; plot(x, sin(x), 'DisplayName','sin'); legend('-DynamicLegend'); ...
13년 초과 전 | 16
| 수락됨
질문
Why these two codes produce different graphs? How can I make the second graph be like the first?
Why these two codes produce different graphs? How can I make the second graph be like the first? 1st: t=0:0.3:10; step(c2d...
13년 초과 전 | 답변 수: 2 | 0
2
답변질문
How can I hold the previous "legend" on a plot?
I use the "hold" function to hold the previous plots. But how can I hold the previous legends, too?
13년 초과 전 | 답변 수: 4 | 0
4
답변질문
How can I convert a system with delay from continuous to discrete and from discrete to continuous and the result be the same?
How can I run this code and the first and the third results be the same? sys=tf(1,[1 1],'InputDelay',0.4) sysd=c2d(sys,0...
13년 초과 전 | 답변 수: 6 | 0
6
답변질문
how can I extract internal delay from a discrete system when I convert it to continuous with d2c?
how can I extract internal delay from a discrete system when I convert it to continuous with d2c?
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
Is there a fuction double2str or something like this?
Is there a fuction double2str or something like this?
13년 초과 전 | 답변 수: 1 | 1
1
답변답변 있음
Which function returns the order of a transfer function?
Ok I found it myself: order(sys)
Which function returns the order of a transfer function?
Ok I found it myself: order(sys)
13년 초과 전 | 2
| 수락됨
질문
Which function returns the order of a transfer function?
Which function returns the order of a transfer function?
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
Why do I receive an error when I run this code?
Why do I receive an error when I run this code? sys=tf([1],[1 1],'InputDelay',2) sysd=c2d(sys,0.5) ...
13년 초과 전 | 답변 수: 2 | 0
2
답변질문
How can I convert num and den to strings?
How can I convert num and den to strings? sys=tf([1],[1 1],'InputDelay',2) sysd=c2d(sys,0.5) [num,den]=tfdata(sysd)...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I turn s/s to 1?
I run this code and if I click yes without change anything in the inputdlg, I receive 's/s'. How can I return this to '1' in t...
13년 초과 전 | 답변 수: 2 | 0
2
답변질문
What is wrong with my exit button?
I have this code on an exit button and when I hit the button and select 'yes' to save the data I receive the figure again....
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I reach the code of the default print tool?
I have a menu button and a default print tool. I wanna make the menu button react like the default print tool. How can I connect...
13년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How can I create a function which evaluate only strings which represent only mathematical functions?
Well, I think I found the answer. Tell me your opinion!!! t=0:0.1:10; insertfunction='cos(2*pi*t)'; gh=symvar(insertfun...
How can I create a function which evaluate only strings which represent only mathematical functions?
Well, I think I found the answer. Tell me your opinion!!! t=0:0.1:10; insertfunction='cos(2*pi*t)'; gh=symvar(insertfun...
13년 초과 전 | 0
질문
Where can I find which "common functions" symvar identify?
The Description of symvar says: symvar 'expr' searches the expression, expr, for identifiers other than i, j, pi, inf, nan, eps,...
13년 초과 전 | 답변 수: 1 | 0
1
답변질문
how can I convert a string to an expression which "symvar" can search for identifiers?
how can I convert a string to an expression which "symvar" can search for identifiers? I use this: symvar 'cos(pi*x - beta...
13년 초과 전 | 답변 수: 2 | 0
2
답변질문
How does symvar work?
Hi all! symvar 'cos(2*pi*t)' How can I make symvar to not return 't'? I use this: syms t but no success.
13년 초과 전 | 답변 수: 1 | 0