![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/11115948_1523900048909_DEF.jpg)
eren baris alici
Followers: 0 Following: 0
Feeds
提问
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...
6 years 前 | 0 个回答 | 0
0
个回答提问
Why do I get the error message, 'Error using j, Too Many Input/Output Arguments' when I try to execute a function ? I try to combine 21 layer matrice which is 2 by 2. Here is my code. Frequency must change between 300Thz and 500Thz.
function [m11_a,m12_a,m21_a,m22_a] = layer_a(f); N_a=2.5; delta_za=450e-9; k=N...
6 years 前 | 0 个回答 | 0
0
个回答提问
"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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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);...
6 years 前 | 1 个回答 | 0
1
个回答提问
"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 ...
6 years 前 | 1 个回答 | 0