Mohamad
Followers: 0 Following: 0
Electrical Engineering
Feeds
質問
Spectra replica after sampling a continuous time signal
Please I need to generate and plot the spectra replicas after sampling a continuous time signal , I generate a signal ( time lim...
2年以上 前 | 2 件の回答 | 0
2
回答回答済み
PLOTTING TWO CYCLES SINE WAVE
Hi , sorry for being late as I jsut saw the reply , run the code , accept the answer , thanks %% generate and plot 2 sin(wt) ...
PLOTTING TWO CYCLES SINE WAVE
Hi , sorry for being late as I jsut saw the reply , run the code , accept the answer , thanks %% generate and plot 2 sin(wt) ...
4年弱 前 | 1
回答済み
Plot a rectangular Pulse from -1 to 1
This just an example , you have to repeat according to your code requirements : prompt = 'Enter the vector t1 '; t1 = input(pr...
Plot a rectangular Pulse from -1 to 1
This just an example , you have to repeat according to your code requirements : prompt = 'Enter the vector t1 '; t1 = input(pr...
4年弱 前 | 1
回答済み
How can I define proper frequency domain of FFT function in Matlab
Hi , I correct the code , check clear clc close all lambda_o=1e-6; % 1[um] of wavelength c=3e8; % speed of l...
How can I define proper frequency domain of FFT function in Matlab
Hi , I correct the code , check clear clc close all lambda_o=1e-6; % 1[um] of wavelength c=3e8; % speed of l...
4年弱 前 | 0
回答済み
*Matrix dimensions must agree error*
Hi , I made the required corrections in the code , now it is working , I also plot y1 and y3 . %============================== ...
*Matrix dimensions must agree error*
Hi , I made the required corrections in the code , now it is working , I also plot y1 and y3 . %============================== ...
4年弱 前 | 0
回答済み
Changing to DB in frequency spectrum from power
db=10*log10((fft_nokia.*conj(fft_nokia))/n);
Changing to DB in frequency spectrum from power
db=10*log10((fft_nokia.*conj(fft_nokia))/n);
約4年 前 | 0
回答済み
Diode i-v Curve Graph
Try this , change voltage vaues as you need . clc clear all n = 1.65; %Ideality factor Is = 220*10^-12; % diode reverse ...
Diode i-v Curve Graph
Try this , change voltage vaues as you need . clc clear all n = 1.65; %Ideality factor Is = 220*10^-12; % diode reverse ...
約4年 前 | 1
| 採用済み
回答済み
Linear Equations Solving Problem
Hi , you can use the Pseudoinverse of matrix H , because it is not a sqaure matrix . x=pinv(H)*U
Linear Equations Solving Problem
Hi , you can use the Pseudoinverse of matrix H , because it is not a sqaure matrix . x=pinv(H)*U
約4年 前 | 0
回答済み
How do I resolve the error "Matrix dimensions must agree" here?
Hi , follow this correction , now you get the row_vector matrix with size ( 13 x 4 ) row_vector=a_mat*C_new ;
How do I resolve the error "Matrix dimensions must agree" here?
Hi , follow this correction , now you get the row_vector matrix with size ( 13 x 4 ) row_vector=a_mat*C_new ;
約4年 前 | 0
回答済み
PLOTTING TWO CYCLES SINE WAVE
f0=1000 ; % sinusoid frequency in Hz fs=50*f0; % sampling frequency dt=1/fs; % sampling interval duration=0.01 ; % dur...
PLOTTING TWO CYCLES SINE WAVE
f0=1000 ; % sinusoid frequency in Hz fs=50*f0; % sampling frequency dt=1/fs; % sampling interval duration=0.01 ; % dur...
約4年 前 | 0
| 採用済み
質問
Adding noise to a signal and which caculation of Signal to Noise Ratio is correct ?
Hi , Please I need to add white gaussain noise with a variance = (4/9)*var(sig) to the signal in ( noise_test.mat) . I need to ...
約4年 前 | 0 件の回答 | 0
0
回答回答済み
Sum sound signals with different size
y_dot=[y_dot zeros(1,length(y_dash)-length(y_dot))];% pad zeros y_code_space=[y_code_space zeros(1,length(y_dash)-length(y_cod...
Sum sound signals with different size
y_dot=[y_dot zeros(1,length(y_dash)-length(y_dot))];% pad zeros y_code_space=[y_code_space zeros(1,length(y_dash)-length(y_cod...
約4年 前 | 0
質問
Time vector to generate a sinusoid signal with 0.5 seconds duration , Fs =200
Hi , please I'm confused with the following time vectors t1 and t2 to generate 0.5 second duration sinusoid signal : Vector...
約4年 前 | 1 件の回答 | 0
1
回答質問
Why I can not use ( -Inf , Inf) in the Limits of Integral for Inverse Fourier transform of X(w) = 1/(1+j*w) ?
% Compute Inverse Fourier transform of X(w)=1/(1+j*w) Hi , Please I need to peform Inverse Fourier Transform for X(w)=1/(1+j*w)...
約4年 前 | 0 件の回答 | 0
0
回答質問
voiced / unvoiced exctraction of a speech signal , short time energy
Dear all , please I have the following script : I'm trying to exctract voiced / unvoiced portions in a speech signal , I perform...
5年弱 前 | 0 件の回答 | 0
0
回答質問
error when using audioread within new function my_DFTwin
Dear all , Hi , Please I have a new function named my_DFTwin , I need to use audioread of audio file 'go.au' , and use the signa...
5年弱 前 | 0 件の回答 | 0
0
回答質問
Hi , I make spectral analysis for female voice ( wav file for 2 word only ) , I get frequency contents below 1000 Hz , so is this correct , also I suspect computation of power of abs(fft) , please advise , thanks
file1='Left_2_f.wav'; [y,fs] = audioread(file1); L=length(y); t=(1000*(0:1/fs:(L-1)/fs))'; n = 2^nextpow2(L); Y=fft(y,n); ...
5年以上 前 | 1 件の回答 | 0
1
回答質問
Hi , please what is the difference between randn and awgn , when adding white gaussian noise to get snr = 10dB , also I see difference in result when using snr function .
P_rms = rms(signal)^2; % noisy_signal_1 = awgn(signal,10,'measured'); noisy_signal_2 = signal+0.1*P_rms*randn(L_t,1); snr1=sn...
5年以上 前 | 0 件の回答 | 0
0
回答質問
Hi , please how to make a loop for subplot , I need to plot plot 5 signals on 3 rows & 2 columns , signals to plot x , y , cr_x , cr_y and cr_xy given below in the code for auto-correlation and cross-correlation
% Autocorrealtion and cross correlation f01=50; f02=500; fs=3000; dt=1/fs; t=0:dt:0.2; L=length(t); x=sin(2*pi*f01.*t)+(3...
6年弱 前 | 1 件の回答 | 0
1
回答質問
Question regarding compute and plot DC-centered Power Spectral Density for Time Autocoorelation function , Rx(tau)=exp(-tau/T) , I have 3 different T values ( 1 , 5 , 10 ) , code below but it is not showing PSD as expected
% script plotting Autocorrelation function for different T values % Plotting Power Spectral Density % Rx(tau)=exp(-tau/T)Rx(t...
6年弱 前 | 0 件の回答 | 0
0
回答質問
error message undefined function or variable ‘integral’ .
Dear all ,i made numerical integration in script bit i get error message : undefined function or variable ‘integral’ .
約6年 前 | 1 件の回答 | 0
1
回答質問
Hi , I have a problem with phase plot for Fourier series coefficients for periodic function exp(-t/2) , why phase plot is not odd function ?
% FS for exp(-t/2) periodic signal % Compelx exponential FS clc clear; a=0 b=pi T0=b-a N=11 F0=1/T0 ...
約6年 前 | 1 件の回答 | 0
1
回答質問
Hi - please what is the difference between normrnd and randn ?
How to use normrnd to generate random numbers from normal distribution with specific mean and variance ?
6年以上 前 | 1 件の回答 | 0
1
回答質問
Hi - Please why I don't get the excat amplitude in the spectrum of two added sine waves xt= 0.7*sin(2*pi*50*t)+sin(2*pi*120*t) , I mean i don't get excatly 0.7 for 50 Hz - nor excatly 1 for 120 Hz
% generate sin wave % FFT on N=2^nextpow2(L) clear; clc; Fs=1000 dt=1/Fs t=0:dt:1.5-dt; xt= 0.7*sin(2*pi...
6年以上 前 | 2 件の回答 | 0
2
回答回答済み
ecg signal frquency contents
Hi code is attached. the signal also attached . Also the figure . I always get on the spectrum very low frequencies componen...
ecg signal frquency contents
Hi code is attached. the signal also attached . Also the figure . I always get on the spectrum very low frequencies componen...
6年以上 前 | 0
| 採用済み
質問
ecg signal frquency contents
I need to determine frequncy contents of an ecg signal which i have loaded from a file , but the sampling frequency is Fs=1.0...
6年以上 前 | 2 件の回答 | 0
2
回答質問
Audio compression using DCT - but i get same size of files after inverse DCT
Hi I have a file ( 1.wav) - I'm trying to compress the first two seconds for this audio by using Discrete cosine transform . ...
6年以上 前 | 2 件の回答 | 0
2
回答質問
How to compress audio file to lower bits
Hi How to compress audio file ( reduce bits ) for transmission .
6年以上 前 | 0 件の回答 | 0
0
回答質問
How to display whos y in GUI edit text or static text ?
file1='speech_demo.wav' [y,Fs]=audioread(file1); whos y How to display whos y in GUI edit text or static text ?
6年以上 前 | 1 件の回答 | 0
1
回答質問
How to get multi-line text in GUI edit text ?
I get this warning on matlab GUI when using edit text Warning: Single line Edit Controls can not have multi-line text So how ...
6年以上 前 | 1 件の回答 | 0