Community Profile

photo

eren baris alici


5 total contributions since 2018

eren baris alici's Badges

  • Thankful Level 1

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

answers

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

answer

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

1

answer

Question


"Undefined function or variable 'x'." for input of function
im extremely new on matlab, tried to write a code like this. my issue is when i try to see the 'y' i see "Undefined function or ...

plus d'un an ago | 1 answer | 0

1

answer