Community Profile

photo

arian hoseini


Last seen: 3개월 전 2021년부터 활동

Programming Languages:
MATLAB
Spoken Languages:
English

통계

  • Thankful Level 4

배지 보기

Content Feed

보기 기준

질문


I get the answer negative!
i dont kow why but my Q is negative....this code is for gauss seidel method this line: Q(n,1)=-(Q(n,1)+ABS_Y_bus(n,m)*ABS_volt...

3개월 전 | 답변 수: 1 | 0

1

답변

질문


indices must either be real?
at line 101 i get this error dont know why?????? % Radial network-reactive and active load-current clear all; clc; %V:networ...

3개월 전 | 답변 수: 1 | 0

1

답변

질문


normalizing for neural net fitting?
i have 405 data (value) that i normalized them with matlab function or (formula) and i gave it to neural net fitting to train it...

6개월 전 | 답변 수: 1 | 0

1

답변

질문


nntool inputs aren't numbers.
i have 5 type of inputs...first is humidity second is salt deposit density(SDD) and last one is voltage...so humidity is dry , 6...

7개월 전 | 답변 수: 1 | 0

1

답변

질문


how does zoomplot work?
i need zoomplot but i dont know how to work with it? allows me to zoom in on specific region in a line plot. clc clear all E...

8개월 전 | 답변 수: 1 | 0

1

답변

질문


run takes too long!
i have this code that it runs and answers are correct but it takes so long...why?is there any solution? clc clear; % percent ...

8개월 전 | 답변 수: 2 | 0

2

답변

질문


how does cdfplot works?
can someone tell me how cdfplot works....? i know the matlab help about this function but i dont understand it...the answer in m...

10개월 전 | 답변 수: 1 | 0

1

답변

질문


how to create different matrices?
i have 30,000 rand value that i want to separate 400 to 400...then i wanna plot them but the x axis should start at 0 not 400 or...

10개월 전 | 답변 수: 1 | 0

1

답변

질문


how to saveas 20 figure as picture with different names ?
X=rand(1000); c=1; d=1; for i=1:50:1000 for c=1:50+c H(i)=X(c); end c=c+50; D(d)=figure(d) ...

10개월 전 | 답변 수: 1 | 0

1

답변

질문


how can i use table after a function?
how can i use a table in this function? T=table(P','VariableNames',{'Power'}); disp(T); disp('Arian'); clear all clc L0 ...

10개월 전 | 답변 수: 1 | 0

1

답변

질문


why while loop repeats so long?
i have this code that works correctly but i wrote another one that looks like loop repeats for so long... clc clear all for...

10개월 전 | 답변 수: 1 | 0

1

답변

질문


how to perform plot with if?
I have two data, X and R, and I want to make it understand after the following condition is executed, for example, if the first ...

10개월 전 | 답변 수: 0 | 0

0

답변

질문


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...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

1년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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?

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

1년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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 ...

1년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

1년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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 ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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 ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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....

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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,...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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) ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

1년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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....

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

1년 초과 전 | 답변 수: 1 | 0

1

답변

더 보기