symbolic variables and complex numbers92 (6/14/2013 8:29:08 AM) comp.soft-sys.matlab Hello
I hope this time I read the documentation carefully enough. I would like to perform symbolic operations with complex numbers. Here is an example
syms phi
z=cos(phi)+imag(sin(phi))
abs(z)
now ... Uwe
symbolic variables + symbolic numerical manipulations?71 (6/12/2013 8:44:09 AM) comp.soft-sys.matlab Hello
I thought that when using symbolic variables, Matlab treats numbers, which are multiplied by this variables also in a "symbolic" way.
Look at the following.
A=[1/4, 1/4 - sqrt(3)/6;1/4 + sqrt(3)/... Uwe
change the format of a symbolic result22 (6/10/2013 4:31:09 PM) comp.soft-sys.matlab Hello
I have created a symbolic matrix in the following way.
syms z;
A=[1/4, 1/4 - sqrt(3)/6;1/4 + sqrt(3)/6, 1/4 ]
I=eye(2);
m=(I-z*A)
m =
[ 1-1/4*z, 174177321749... Uwe
windows, utf8 comments are not displayed correctly07 (3/4/2013 1:38:08 PM) comp.soft-sys.matlab Hello
I generated a .m file in Linux with comments in UTF8 coding.
In windows by default
feature('DefaultCharacterSet')
returns windows 1252
when I open the file, the non ascii symbols are not dis... Uwe
preview latex in the matlab editor419 (12/9/2012 9:12:15 PM) comp.soft-sys.matlab Hello
I use most of the time (X)emacs with Eric L matlab-mode.
However Xemacs allows me to display math formula which I
add in the doc strings of my program, as png.
I have screenshots, but unfortunate... Uwe
title latex arrays, brackets not shown and no minus sign033 (2/7/2012 2:43:09 PM) comp.soft-sys.matlab Hello I am using R 2008, on Linux Kubuntu 10.04. I would like to have the following title: title('$$ A=\left(\begin{array}{cc} - 2 & 1\\ 1 & - 2 \end{array}\right) \qquad B(t) =\left(\begin{array}{l} 2\sin(t)... Uwe
change the form of the ans prompt?526 (1/27/2012 7:00:10 PM) comp.soft-sys.matlab Hello when I type >> x=5 the matlab prompt gives me x= 5 I find this very disturbing. I would much prefer to have x=5 all in the same line! is there any variable which I could use to obtain the se... Uwe
command fit is gone?! compatiblity?122 (1/10/2012 5:08:08 PM) comp.soft-sys.matlab Hello for example in version 2008, the following code worked x=[0 1 2 3 4] y=[1.5 2.5 3.5 5 7.5] [fexp,r]=fit(x',y','c*exp(a*x)') now in version 2010, this commands do not work. is there any solution? coul... Uwe
Newton Raphson for nxn system using symbolic toolbox731 (11/1/2011 10:20:29 AM) comp.soft-sys.matlab Hello I have already implemented the Newton Raphson method for a system of n equations. However in my implementation I have to give the function and its Jacobian (written as a function) as a input variable. N... Uwe
rrefmovie gone?343 (10/5/2011 1:39:30 PM) comp.soft-sys.matlab Hello I remember that (old) Matlab versions had the command rrefmovie, which should interactively how rref worked on a given matrix. But now for me in version 2010 this command seems to be gone, is there any... Uwe
symbolic variables + symbolic numerical manipulations?71 (6/12/2013 8:44:09 AM) comp.soft-sys.matlab Hello
I thought that when using symbolic variables, Matlab treats numbers, which are multiplied by this variables also in a "symbolic" way.
Look at the following.
A=[1/4, 1/4 - sqrt(3)/6;1/4 + sqrt(3)/... oub(94)
convert function files to inline functions?227 (7/5/2009 6:37:01 PM) comp.soft-sys.matlab Hello Is it possible to write a function, which is written in a file as an inline or anonymous function. The function in question is for example function [t,x]= euler(f,interval,xo,N) h=(interval(2)-interval(... oub(94)
rrefmovie gone?343 (10/5/2011 1:39:30 PM) comp.soft-sys.matlab Hello I remember that (old) Matlab versions had the command rrefmovie, which should interactively how rref worked on a given matrix. But now for me in version 2010 this command seems to be gone, is there any... oub(94)
Newton Raphson for nxn system using symbolic toolbox731 (11/1/2011 10:20:29 AM) comp.soft-sys.matlab Hello I have already implemented the Newton Raphson method for a system of n equations. However in my implementation I have to give the function and its Jacobian (written as a function) as a input variable. N... oub(94)
change the form of the ans prompt?526 (1/27/2012 7:00:10 PM) comp.soft-sys.matlab Hello when I type >> x=5 the matlab prompt gives me x= 5 I find this very disturbing. I would much prefer to have x=5 all in the same line! is there any variable which I could use to obtain the se... oub(94)
preview latex in the matlab editor419 (12/9/2012 9:12:15 PM) comp.soft-sys.matlab Hello
I use most of the time (X)emacs with Eric L matlab-mode.
However Xemacs allows me to display math formula which I
add in the doc strings of my program, as png.
I have screenshots, but unfortunate... oub(94)
symbolic variables and complex numbers92 (6/14/2013 8:29:08 AM) comp.soft-sys.matlab Hello
I hope this time I read the documentation carefully enough. I would like to perform symbolic operations with complex numbers. Here is an example
syms phi
z=cos(phi)+imag(sin(phi))
abs(z)
now ... oub(94)
change the format of a symbolic result22 (6/10/2013 4:31:09 PM) comp.soft-sys.matlab Hello
I have created a symbolic matrix in the following way.
syms z;
A=[1/4, 1/4 - sqrt(3)/6;1/4 + sqrt(3)/6, 1/4 ]
I=eye(2);
m=(I-z*A)
m =
[ 1-1/4*z, 174177321749... oub(94)