Question

Transfer graphics handle between methods in Level-2 MATLAB S-Function

In the Start method of a Level-2 MATLAB S-Function I create a graphics object e.g. a surf. In the Update method I want to manipu...

14 days ago | 0 Answers | 1

Submitted

Particle System Toolbox

Graphically simulate the interactions of particles, springs, and attractions in a particle system.

1 year ago | 9 downloads |

Responded

Re: Error in syms x, subs (1/x, x, 0)

Nasser, don't you think it is inconsistent that 1/sym(0) returns inf, but subs (1/x, x, 0) throws an error? Jörg

1 year ago | 2819 views

Responded

Re: How to sum elements of certain range in a matrix

sum (a(a>2 & a<8))

1 year ago | 1494 views

Posted

Error in syms x, subs (1/x, x, 0)

Matlab can divide by zero: ans = Matlab can also symbolically divide by zero: ans = Inf But if we use the subs command Mat...

1 year ago | 2819 views

Question

Can I rely on symbolic cross?

I cannot find that cross is overloaded for symbolic vectors in the documentation. Nevertheless, it seems to work: ...

4 years ago | 0 Answers | 0

Responded

Re: Undocumented feature of solve?

Greg, the new synthax was introduced in R2012a. Jörg

4 years ago | 4099 views

Responded

Re: Undocumented feature of solve?

Yair, could you please tell me where in the documentation you found that we can use a v_e_c_t_o_r of equations? Jörg

4 years ago | 4099 views

Posted

Undocumented feature of solve?

As of R2012a, we can directly solve a vector of equations: g = ans = Could a Mathworker please tell us if we can rely on th...

4 years ago | 4099 views

Responded

Re: Symbolic vector function?

Star, your post is so 2011! ;-) As of R 2012a you can finally declare symbolic functions: define the function: f(x) = cos(x)...

4 years ago | 9927 views

Posted

Symbolic vector function?

Declare a symbolic function: Define the function: r(la) = [ 3*la, 2*la, la] How do you access the first element of the funct...

4 years ago | 9927 views

Submitted

Display symbolic expression in web browser.

CUTE(EXPRESSION) displays the symbolic (or string) EXPRESSION in the standard web browser.

5 years ago | 0 downloads |

Responded

Re: Symbolic factor out of a vector

The factored form is shorter and gives more immediate insight into the structure of the expression; especially if the factor is ...

5 years ago | 2665 views

Posted

Symbolic factor out of a vector

Matlab automatically expands the product of a scalar and a vector: v = [ a*b, a*c, a*d] Is there a command to get back to a*[b...

5 years ago | 2665 views

Question

2 complicated 2 solve?

Can you do that? ;-) >> solve ('1/(1/x + 1)') Warning: Explicit solution could not be found. > In solve at 83 ans ...

5 years ago | 0 Answers | 0

Responded

Re: Symbolic pde solution?

True words - for almost every field of symbolic mathematics ... I used Matlab/Maple's symbolic solver to introduce pdes to my s...

5 years ago | 6684 views

Responded

Re: Symbolic pde solution?

Do you happen to know if the Mathworks have any plans to implement symbolic pde solvers in the near future? Jörg

5 years ago | 6684 views

Posted

Symbolic pde solution?

Can Matlab/MuPAD solve partial differential equations symbolically (analytically), like in those good old Maple symbolic engine ...

5 years ago | 6684 views

Posted

Restore saved axes settings?

After over 25 years of Matlab experience I still do not understand the function of the "Restore saved axes settings" button in a...

5 years ago | 1718 views

Responded

Re: passing data between a simulink based exe file and Flight Gear using UDP/TCP

In my model I used the Pack net_fdm block of the Aerospace Blockset and the UDP Send block of the Signal Processing Blockset (bo...

6 years ago | 5523 views

Responded

Re: passing data between a simulink based exe file and Flight Gear using UDP/TCP

Did you ever figure out how to make your exe talk to flightgear? Joerg

6 years ago | 5523 views

Responded

Re: Determinant of a non-square matrix?

Muhammad, Thank you very much for your help! I teach mathematics with Matlab's symbolic toolbox since a decade and want my stu...

6 years ago | 51407 views

Responded

Re: Determinant of a non-square matrix?

Mirko Radic defined a determinant of a rectangular matrix in 1966: http://www.zentralblatt-math.org/zmath/scans.html?volume_=16...

6 years ago | 51407 views

Responded

Re: Determinant of a non-square matrix?

John, I second every word you say! But - Matlab computes the determinant of a symbolic non-square matrix without the slightest ...

6 years ago | 51407 views

Posted

Replacing a NaN by it nanmean

You might want to obtain the NaN index matrix: A_nan = isnan(A) A_nan = and then replace columnwise: A(A_nan(:,1),1) = 6 A...

6 years ago | 5194 views

Posted

Replacing a NaN by it nanmean

Still don't get it. Do you want to * replace NaN in the first column by 6 and * replace NaN in the second column by 1?

6 years ago | 5194 views

Posted

Determinant of a non-square matrix?

Is there a determinant of a non-square matrix? ans = a

6 years ago | 51407 views

Posted

v as in asv?

What does the "v" in Matlab's autosave filetyp (.asv) stand for?

7 years ago | 2120 views