Author Topic: Making function from symbolic expression in "MAT LAB"  (Read 170 times)

Offline alireza

  • Newbie
  • *
  • Posts: 2
  • Matlab Forum
    • View Profile
Making function from symbolic expression in "MAT LAB"
« on: January 03, 2010, 09:31:20 AM »

for example if:
syms beta
n1,n2,m,a=const.
u=sqrt(n2-beta^2);
w=sqrt(beta^2-n1);
a=tan(u)/w+tanh(w)/u;
b=tanh(u)/w;
f=(a+b)*cos(a*u+m*pi)+a-b*sin(a*u+m*pi); is the main expression.

how can i convert f to a function of beta?

Matlab Forum

« on: »

 

  Subject / Started by Replies Last post
0 Replies
296 Views
Last post May 28, 2009, 09:37:07 AM
by gatlab
0 Replies
197 Views
Last post January 28, 2010, 12:41:42 AM
by hidavi
0 Replies
1293 Views
Last post February 11, 2010, 06:38:13 PM
by ainsliem
1 Replies
141 Views
Last post August 18, 2010, 11:21:53 AM
by hero_hont
1 Replies
163 Views
Last post September 07, 2010, 10:11:40 AM
by hero_hont