Community Profile

photo

ASHA RANI


Last seen: 4 months ago Active since 2017

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


How to increase speed of this code
clc,clear,close all format short syms AX0 e=0.2; OM=[1:100:20000]; ET=sqrt(-1); A11 = 17.8*10^10; ...

5 months ago | 2 answers | 0

2

answers

Question


Error using horzcat Dimensions of matrices being concatenated are not consistent.
I want to find value of r for corresponding value of OG. but I am not able to get output. I recieved" Error using horzcat Dimens...

6 months ago | 1 answer | 0

1

answer

Question


Eigen value and eigen vector of a 2*2 block matrix
syms a51 a53 a54 a56 a62 a65 a67 a68 a71 a73 a74 a76 a81 a83 a84 a86 A= zeros(4); B=eye(4); C=[a51 0 a53 a54; 0 a62 0 0;a71 ...

7 months ago | 0 answers | 0

0

answers

Question


Eigen value and eigen vector of symbolic block matrix
clc syms a51 a53 a54 a56 a62 a65 a67 a68 a71 a73 a74 a76 a81 a83 a84 a86 e A= zeros(4); B=eyes(4); C=[a51 0 a53 a54; 0 a62...

7 months ago | 1 answer | 0

1

answer

Question


Matrix construction over a loop
x=[1:1:10]; a=2; b=4; c=6; for i=1:length(x) A=a*b/x(i); B=c+A(i)/b; D=a+b; E=1-2*c; MAT=[B(i);D;E]; M=sqrt([MAT]) en...

8 months ago | 2 answers | 0

2

answers

Question


simplification and preallocation of a symbolic value in matlab script
clc syms AX0 OG=5; for z=1:4; AL(z)=(AP19.*BLOKS(z)-AP20).*(AP16.*BLOKS(z)-AP17)+(AP21.*BLOKS(z)-AP22).*(BLOKS(z)-AP5*AP...

8 months ago | 1 answer | 0

1

answer

Question


How to display a particular row of a matrix using loop
x = [0:10:90]*pi/180; x assumes 10 values. After some codes, not giving here I have a matrix AR of size 8 x 10 complex double....

1 year ago | 1 answer | 0

1

answer

Question


Matrix with elements as polynomial
syms x X = [x^2-5*x+6, x^2-6*x+8, x.^2-10*x+25, x.^2-14*x+24] X is a 1* 4 sym type. I want to find roots of each eleme...

1 year ago | 1 answer | 0

1

answer

Question


How to create a loop on a matrix whose elements are also a row/column matrix.
x= [ 0:pi/18:pi/2]; A=11; B=12; C=9; D=8; K1=12; K2=18; syms V E = A.*sin(x)+B.*cos(x); F = C.*sin(x)+D.*cos(x); Z = [...

1 year ago | 1 answer | 0

1

answer

Question


how to use two for loop in one matlab program
for z=1:3 v(z) = zeros(1,length(x)); for ii = 1:numel(x) V = roots([S0(ii),-S1(ii),S2(ii),-S3(ii)]); ...

3 years ago | 1 answer | 0

1

answer

Question


I want to calculate roots of a polynomial whose coefficients are functions of x where x assume values between an interval
Let x =[0:1:10]; polynomial = [ 1 sin(x) x.^3 x]; let v1,v2 and v3 be the three roots of given polynomial in v whose coeffici...

4 years ago | 1 answer | 0

1

answer