Community Profile

photo

Alaa Nagy


Last seen: 2年弱 前 2018 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


when i try to solve this problem(in picture) ,there is no output of the code(as in the picture)?
function [x,n]=delta_fn(n0,n1,n2) n=n1:n2 x=[(n-n0)==0]; syms m n=0:25; x1=(m+1)*(3*delta_fn(2*m,0,25)-delta_fn(2*m-1,0...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


when i try to run this code , i receive that error x1=(m+1)*(3*delta_fn(2m,0,25)-delta_fn(2m-1,0,25)) | Error: Unexpected MATLAB expression. >>why ??
function [x,n]=delta_fn(n0,n1,n2) n=n1:n2 x=[(n-n0)==0]; syms m n=[0:25]; x1=(m+1)*(3*delta_fn(2m,0,25)-delta_fn(2m-1,0,25)...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


how to restart a for loop from first iteration if a condition work.. in this code i want to return to first iteration of for loop after the if condition true and display the error
fs=input('Enter the sampling Freq='); tstart=input('Enter start time='); tend=input('Enter end time='); NB=input('Enter num...

5年以上 前 | 1 件の回答 | 0

1

回答