photo

hani daniel


Attivo dal 2016

Followers: 0   Following: 0

Statistica

  • Thankful Level 2
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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)

oltre 7 anni fa | 2 risposte | 0

2

risposte

Risposto
Hi,. I need support in doing a double summation in MATLAB. Thank you.
Hi Star Strider, Thank you for your answer. Regards HD

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

Domanda


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

oltre 7 anni fa | 4 risposte | 0

4

risposte

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

Domanda


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

oltre 8 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta