Community Profile # arian hoseini

Last seen: 17 days ago Active since 2021

Programming Languages:
MATLAB
Spoken Languages:
English

#### Statistics

• #### Content Feed

View by

Question

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

20 days ago | 1 answer | 0

### 1

Question

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

2 months ago | 1 answer | 0

### 1

Question

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

2 months ago | 2 answers | 0

### 2

Question

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

3 months ago | 1 answer | 0

### 1

Question

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

4 months ago | 1 answer | 0

### 1

Question

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

4 months ago | 1 answer | 0

### 1

Question

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

4 months ago | 1 answer | 0

### 1

Question

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

4 months ago | 1 answer | 0

### 1

Question

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

4 months ago | 0 answers | 0

### 0

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

9 months ago | 1 answer | 0

### 1

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

9 months ago | 0 answers | 0

### 0

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?

9 months ago | 1 answer | 0

### 1

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

9 months ago | 1 answer | 0

### 1

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

9 months ago | 1 answer | 0

### 1

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

9 months ago | 1 answer | 0

### 1

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

9 months ago | 2 answers | 0

### 2

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

9 months ago | 2 answers | 0

### 2

Question

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

10 months ago | 0 answers | 0

### 0

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

Question

how to get tf answer for this problem?
a= b=[0.05 1] c= 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 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 2 answers | 0

### 2

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 1 answer | 0