Community Profile

photo

arian hoseini


Last seen: ungefär 2 månader ago Active since 2021

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


The following two blocks cannot be connected in series
i get this error and i tried to Add a high-value resistance in parallel with one of the two block but got another error The fol...

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


find the minimum value
i need to find which LD(:,6) is min for example min of LD(:,6) between Z2(14)&Z2(2) is 70Km then i need to sumZ2(2) with Z(1) bu...

ungefär 2 månader ago | 0 answers | 0

0

answers

Question


what can we use when we dont have value in a matrix instead of 0?
i have a matrix of my data and i dont want to put 0 for the items that i dont have ...is there any other way?

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


how can i print output from table to word or excel?
first of all thank u for your time and sorry for asking too many questions....for example i have this table ...is it possible to...

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


any ideas for making code faster?
clc; clear all; R = [0.004 0.0057 0.005 0.005 0.0045 0.0044 0.005]; X = [0.05 0.0714 0.0563 0.045 0.0409 0.05 0.05]; L = [10...

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


Matrix is close to singular or badly scaled. Results may be inaccurate.
Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.986089e-23. for k=1:40 a(k,1)=1; a...

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


is it possible to use "for loop" for matrix?
v=zeros(1,4); X1=zeros(1,6); X2=zeros(1,6); for k=1:6 for j=1:n X1(1,k)=(j^k)+X1(1,k); X2(1,k)=(j^k)+X...

ungefär 2 månader ago | 2 answers | 0

2

answers

Question


how to repeat a loop?
LD = [1 2 0.004 1 0.05i 0 100 1 3 0.0057 2 0.0714i 0 70 3 4 0.005 3 0.0563i 0 80 4 5 ...

2 månader ago | 2 answers | 0

2

answers

Question


villard circuit simulink?
i have this simulink but i need the voltage to be double.anyone can help me?

3 månader ago | 0 answers | 0

0

answers

Question


how to name input variable and plot line?
Data=[0.05 0.04 0 120 1 0 0.14 0.02 0 13.5 1 0 80 2 0 0.0515 0.02 0.114 19.61 2 0.491 28.2 2 ...

5 månader ago | 1 answer | 0

1

answer

Question


why do i get last value of loop?
clc clear In = input;%this is my data tms = 0.5; psm1 = 1.1:20; for i = 1:length(psm1) %my problem is here >>>>first i ...

5 månader ago | 1 answer | 0

1

answer

Question


how can i get different answers?
i have the following code for example but i also have another (t=1:2) and i dont want write this codde again in another script....

5 månader ago | 1 answer | 0

1

answer

Question


how to input variables?
Data=[1 2 3 4 5 6] a = Data(:,1); b = Data(:,2); c = Data(:,3); t=a/(b.^c) as u see i have 4 ans but i need 2 ... 1,2,...

5 månader ago | 1 answer | 0

1

answer

Question


how to get tf answer for this problem?
a=[40] b=[0.05 1] c=[1] d=[0.5 1] e=[0.8] f=[1 1] g=[0.1] h=[0.04 1] T1=tf(a,b) T2=tf(c,d) T3=tf(e,f) T4=tf(g,h) ...

7 månader ago | 1 answer | 0

1

answer

Question


how can i name my output and display it?
L =[1 2 0.1 0.2 0.02 1 4 0.05 0.2 0.02 1 5 0.08 0.3 0.03 2 3 0.05 0.25 0.03 2 4 0.05 0.1 0.01 2 5 0.1 0...

7 månader ago | 1 answer | 0

1

answer

Question


how can i negative all value in a matrix except diagonal?
13.333 5 0 5 3.3333 0 5 27.333 4 10 ...

7 månader ago | 2 answers | 0

2

answers

Question


Index exceeds matrix dimensions error?
L =[1 2 0.1 1 4 0.05 1 5 0.08 2 3 0.05 2 4 0.05 2 5 0.1 2 6 0.07 3 5 0.12 3 6 0....

7 månader ago | 1 answer | 0

1

answer

Question


how to add a row to a matrix?
A=[1;2;3;4;5] i wanna add 0 to n row..i tried A(n, :) = 0...but i get this A=[0;2;3;4;5] instead of A=[0;1;2;3;4;5] what's the...

7 månader ago | 1 answer | 0

1

answer

Question


how to combine two matrices?
A=[Pg; 0.5;0.6;0;0;0] B=[0;0;0;0.7;0.7;0.7] 1)the answer i need is C=[Pg;0.5;0.6;0.7;0.7;0.7] i tried C=[A,B] but thats not w...

7 månader ago | 1 answer | 0

1

answer

Question


what is horzcat error.
disp('(a) Solution by mesh analysis') VL=360*sqrt(3); % Line voltage magnitude Zs=j*24; Zm=j*6; % Series and mutual impedances...

7 månader ago | 1 answer | 0

1

answer

Question


Index exceeds matrix dimensions.
function [L]=LineData % ---------------------------------data input------------------------------ %{ Transmission line para...

7 månader ago | 1 answer | 0

1

answer

Question


how to creat if loop?
function [B]=BusData % ---------------------------------data input------------------------------ %bus number| Bus type | volta...

7 månader ago | 1 answer | 0

1

answer

Question


how to Invert a matrix and how to delete a row and a column?
1.4286 5.0000 Inf 5.0000 3.3333 Inf 5.0000 0.9524 4.0000 10.0000 3.3333 5.0000 ...

7 månader ago | 1 answer | 0

1

answer

Question


how can i make a general matrix?
i asked this question many times but still have a problem....someone help me please i need answer as soon as possible...

7 månader ago | 2 answers | 0

2

answers

Question


how can i name each ans in a for loop?
Nb=6; L =[1 2 0.1 0.2 0.02 1 4 0.05 0.2 0.02 1 5 0.08 0.3 0.03 2 3 0.05 0.25 0.03 2 4 0.05 0.1 0.01 2 ...

7 månader ago | 1 answer | 0

1

answer

Question


how can i sum X's or R's values that their nl=1?
L =[1 2 0.1 0.2 0.02 1 4 0.05 0.2 0.02 1 5 0.08 0.3 0.03 2 3 0.05 0.25 0.03 2 4 0.05 0.1 0.01 2 5 0.1 0...

7 månader ago | 1 answer | 0

1

answer

Question


how can i input variable in function?
linedata = [ 1 0 0.000 0.200 2 0 0.000 0.150 3 0 0.000 0.250 1 4 0.035 0.225 1 5 0.025 0.105 1 6 0.040 ...

7 månader ago | 1 answer | 0

1

answer

Question


zbuild doesnt work?
zdata=[0 1 0 0.05 0 2 0 0.075 1 2 0 0.75 1 3 0 0.30 2 3 0 0.45]; Zbus=zbuild(zdata) symfault(zdata, Zbus) zbuild doesnt wor...

7 månader ago | 1 answer | 0

1

answer

Question


how to change matlab answers type?
i have a problem with matlab answers ...it always shows answers like this (200*6151^(1/2))/3 - 14200/3 how can i fix that?i m...

8 månader ago | 2 answers | 0

2

answers

Question


how can we increase a value until we get answer
clc clear all % -------------------------------------data input----------------------------------- alpha = [510; 310; 78; 120...

8 månader ago | 1 answer | 0

1

answer

Load more