photo

hani daniel


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

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

6 years ago | 2 answers | 0

2

answers

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)

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 0

| accepted

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

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

7 years ago | 4 answers | 0

4

answers

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

8 years ago | 0

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

8 years ago | 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 ...

8 years ago | 3 answers | 0

3

answers

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 0

1

answer