Community Profile

photo

Aqeel Mohammed Abdul Mageeth


Active since 2017

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How can i solve the error in the code given below? I'm getting the following error In an assignment A(:) = B, the number of elements in A and B must be the same.
syms T h=1.054*(10^-34); T=[1:20:1001]; kb=1.38*(10^-23); g=1.1; vd=6703.3; M=4.6637*(10^-26); td=355.33; ...

6 years ago | 1 answer | 0

1

answer

Question


how do I store the value of integrals of function k for all values of T for the below code??
T=[0:20:1000]; k=@(x)((x.^2).*exp((4*x)/3))./((exp(x)-1).^2) q=integral(k,0,-td./T) I'm getting the following error: ...

6 years ago | 1 answer | 0

1

answer

Question


Please let me know why this error is popping up even when I use element wise operator??
c=(kb^4)/(2*(pi^2)*vd*(h^3)*A*exp(-td/(3.*T))); T here is an array while all the other parameters are constant. I'm gettin...

6 years ago | 1 answer | 0

1

answer