Community Profile

photo

TEOH CHEE JIN


Last seen: 2 months ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to label x-axis of stem plot that consist spectrum?
I am plotting the graph using stem. What code should I write to label the x-axis with spectrum? I have tried xticklabels but it ...

1 year ago | 1 answer | 0

1

answer

Question


How to create low pass filter to remove the signal greater than 40pi?
I am designing a filter to remove the unwanted signal in my D(w). The intention is to remove the signal at 4960pi and 5040pi (on...

1 year ago | 1 answer | 0

1

answer

Question


How to plot the graph with different amplitudes at different frequencies?
For the amplitude of D(w), I have used the command "simplify" and obtained that there are two different amplitudes at different ...

1 year ago | 1 answer | 0

1

answer

Question


Error using indexing Invalid indexing or function definition. Indexing must follow MATLAB indexing.
I encounter "Error using indexing Invalid indexing or function definition. Indexing must follow MATLAB indexing. Function argum...

1 year ago | 1 answer | 0

1

answer

Question


How to plot the signal having convolution in frequency domain?
I am doing a signal project to perceive the signals undergoing convolution, modulation and demodulation. The MATLAB script is a...

1 year ago | 1 answer | 0

1

answer

Question


Why the fourier transform of a signal does not produce any graphing?
Hi, I have written a MATLAB code to convert the signal equations from time domain into frequency domain. However, when plotting ...

1 year ago | 1 answer | 0

1

answer

Question


Error using sym/subsindex when doing convolution of two signals (cosine function and impulse function) in MATLAB.
%create symbolic functions x, a, b, c, d, e, f_c with independent variable t syms x a h b c d e f_c t tau x(t) = cos(100*pi*t)...

1 year ago | 1 answer | 0

1

answer

Question


Why do I receive 'Error using sym>tomupad' in Line 6 when plotting impulse signal with right time shifting?
%create symbolic functions x, a, b, c, d, e, f_c with independent variable t syms x(t) a(t) h(t) b(t) c(t) d(t) e(t) f_c(t) x(...

1 year ago | 1 answer | 0

1

answer

Question


Rewrite the script without using continue and break statement.
I have written a code as below: a=5:-1:-2; i=1; while(1) if(a(i)<0) break; end b=a(i)*2; i=i+1; ...

2 years ago | 2 answers | 0

2

answers

Question


How to enable while 1 loop in matlab?
I am planning to make a BMI calculation in which this program will prompt the user to enter new inputs repetitively as long as b...

2 years ago | 1 answer | 0

1

answer