photo

hani daniel


Actif depuis 2016

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Folks: My program (below) does not return an error message, it does open a plot window, but no graph/data is plotted. I am not sure why. Thank you for your help. H Daniel
clear all; neff=1.45; dn=3.5 *(10^-4); lambdad=1550; Lmm=20.0; L=Lmm*(10^6); INPUT=[1;...

environ 7 ans il y a | 2 réponses | 0

2

réponses

Question


Folks, please let me know how to complete the sum of products in the "for loop" as shown below in order to get the correct answer. Thank you. HDaniel
clear all; % S=2i*3j; S1=0; S2=0; for i=0:1:2; for j=1:1:3; S1=2*i; S2=3*j; S=S1*S2; end end y=Sum(S)

plus de 7 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Hi,. I need support in doing a double summation in MATLAB. Thank you.
Hi Star Strider, Thank you for your answer. Regards HD

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Hi,. I need support in doing a double summation in MATLAB. Thank you.
Hi Stephen, Thank you for your answer, it is correct. However, as a beginner at MATLAM, I do not understand the bsxfun comman...

plus de 7 ans il y a | 0

Question


Hi,. I need support in doing a double summation in MATLAB. Thank you.
Hi, I need to do the following double summation ∑(i=0,2)∑(j=0,3)〖(2i+3j)〗in a MATLAB program. The answer should be 78. Thank ...

plus de 7 ans il y a | 4 réponses | 0

4

réponses

Réponse apportée
matrix multiplication after a for loop
Christoph, Thank you. Being new to Matlab, I am still struggling with this problem. Essentially, I simplified the code for clar...

plus de 8 ans il y a | 0

Réponse apportée
matrix multiplication after a for loop
Christoph, Thank you. Being new to Matlab, I am still struggling with this problem. Essentially, I simplified the code for clari...

plus de 8 ans il y a | 0

Question


matrix multiplication after a for loop
Dear Help, I have an element of a 2x2 matrix that needs to ne updated in a for loop, i=0, 100. After the iterations, I need to ...

plus de 8 ans il y a | 3 réponses | 0

3

réponses

Question


At frequency f >10^6, the program is very slow to calculate the FFT. Please let me know if there is a faster method. Thank you. Regards HDaniel
% fft_sinewave_1.m Fs=1*10^7; t = 0:1/Fs:1; v = 1; f = 10^6; y = v*sin(2*pi*f*t); nfft=1024; Y = fft(y,nf...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Warning: Imaginary parts of complex X and/or Y arguments ignored
function main options=odeset('RelTol',1e-06) Xo = [1;0]; tspan = [0,5]; [t,X] = ode45(@TestFunction,tspan,Xo,optio...

presque 9 ans il y a | 1 réponse | 0

1

réponse