Community Profile

# eren baris alici

5 total contributions since 2018

View details...

Contributions in
View by

Question

when a change number of points in linspace graph changing, why it is happening?(when i changing d graph is also changing)
d=100; f=linspace(3e14,5e14,d); %n=20; [m11_a,m12_a,m21_a,m22_a] = layer_a(f); [m11_b,m12_b,m21_b,m22_b] = lay...

plus d'un an ago | 0 answers | 0

### 0

Question

"Inner matrix dimensions must agree." i need to multiply two matrices but when i try to multiply them i gave that error, when i try element-wise multiplication i gave no error and also i have to see 804 elements for both layer_a,layer_b.but i see 201
I want to create a function that has four elements and is square matrice. I also want to create another one which has 4 elements...

plus d'un an ago | 1 answer | 0

### 1

Question

Subscripted assignment dimension mismatch.Error in fnc (line 12) matrix1(1,1)=cos(k*delta_z);matrix1(1,2)=(i/q)*sin(k*delta_z);
i tried to form an matrice and took this error. here is my code. function [matrix1,matrix2] = fnc(delta_z,w);...

plus d'un an ago | 1 answer | 0