in the case of infinite number with many variable and plot
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen

clearvars;
syms Amn a b V0 n m x y;
a=10;
b=5;
assume(m,{'positive','integer'});
assume(n,{'positive','integer'});
Vo=1.0;
Amn=[[(m*pi/a)^2+(n*pi/b)^2]^-1]*[(-1)^m+n*144*a*b/m*n*pi]*(1-[1/b]*[1-(-1)^n])
V1(x,y)= (4*Vo/pi)*sin(m*pi*x/a)*sinh(n*pi*y/a)/n*sinh(n*pi*b/a);
V2(x,y)=Amn*sin(m*pi*x/a)*sin(n*pi*y/b);
V=V1(x,y)+V2(x,y)
Amn is given parameter and a=10 ,b=5
before i upload this code
i used for loop for n,m buy n,m is infinite number that so the for loop is not stop and i think it is not correct so i deleted it
so i dont know what expression is used for these case
and it is possible to plot it? what is the variation ? i dont know what to fit it for variation ,theres are so many variation so difficult for it
if you can modify for what i write i will be so thanksful if you can code it
2 Kommentare
Dyuman Joshi
am 1 Mai 2021
Bearbeitet: Dyuman Joshi
am 1 Mai 2021
You can use symbolic summation - symsum. You have already done the most part of the code, you just need to apply it to the summation function. Once you get the summation, in terms of x and y, you can use the relation to plot the variation as you want.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!