Answered
How can I graph an equation with 'changing constant' values?
Equation = @(x,y) Constant + 10 + 90*(x>=3) + 900*(x>=6) + 5.*x + 5.*y;

11 years ago | 0

| accepted

Answered
Help with Vectors and For Loops and determining whether it's negative or positive?
doc for doc numel doc size docsearch('"logical indexing"') doc false doc true docsearch('"preallocating ar...

11 years ago | 0

| accepted

Answered
Why does FFT subtract PI/2 phase shift for sine wave
Think of it this way. Cosine is the real-part of the complex exponential, whereas sine is the real-part of the complex exponent...

11 years ago | 2

| accepted

Answered
FFT function in matlab
Neither. It is a straight implementation of the definition of the DFT. Depending on how you choose to scale the result, you ca...

11 years ago | 0

Answered
Is there a way to display(or know), whether the signal flowing through a line in a simulink model is complex or real ?
* <http://www.mathworks.com/help/simulink/ug/working-with-data-types.html#f14-90571 Display Port Data Types> * <http://www.math...

11 years ago | 1

| accepted

Answered
generating a half wave sinusoid using Simulink
Try feeding the output of the *Sine Wave* block to the input of a *<http://www.mathworks.com/help/simulink/slref/saturation.html...

11 years ago | 0

Answered
Creating a matrix of sinusoids with frequency increasing over columns and time increasing over rows
Fs = 48000; dt = 1/Fs; t = (0:dt:0.25-dt)'; Fc = 60*(1:2:15); y = sin(2*pi*t*Fc);

11 years ago | 1

Answered
What are new things in error-control coding functions in R2014a? I am using R2011b now.
Please review the <http://www.mathworks.com/help/comm/release-notes.html Release Notes> for the Communications System Toolbox

11 years ago | 0

Answered
Creating a simple plot
Use |.*| instead of |*| here: y = x.*exp(-x.^2); Also, you will want higher resolution: x = -3:0.01:3;

11 years ago | 0

| accepted

Answered
define frequency of signal from fft output
Please try: Fs = 1000; dt = 1/Fs; N = 12000; t = dt*(0:N-1)'; x = sin(100*pi*t) + 2*cos(200*pi*t); X =...

11 years ago | 0

Answered
define frequency of signal from fft output
dF = Fs/N; f = dF*(0:N-1)';

11 years ago | 0

| accepted

Answered
Why do many MATLAB examples model stock price returns instead of absolute changes?
Suppose you own a portfolio containing two stocks, with a total value of $5,000 each. Suppose further that the price of one sto...

11 years ago | 0

| accepted

Answered
Hi! can you guide me to plot power spectra of ASK signal?
Here's a start: Tb = 1; % seconds per bit R = 1/Tb; % bits per second M = 100; % bi...

11 years ago | 0

Answered
How can i implement fft on sine wave then plot it ?
doc sin doc cos doc fft doc fftshift doc abs doc plot doc stem

11 years ago | 0

Answered
Using iirnotch for more than one frequency?
Fs = 960; Fc = [ 120 240 ]; Wc = Fc/(Fs/2); BW = Wc/35; mycomb = zeros(2,6); [b,a] = iirnotch(Wc(1),BW(1)...

11 years ago | 0

| accepted

Answered
i want to know frequency from amplitude of an EEG
doc pwelch doc spectrogram

11 years ago | 0

Answered
Comb filter to remove noise?
|<http://www.mathworks.com/help/dsp/ref/iirnotch.html iirnotch>|

11 years ago | 0

| accepted

Answered
1D Fourier Transform for square pulse
doc zeros doc ones doc fft doc imag doc real doc plot

11 years ago | 0

Answered
A script that writes all even numbers from 1 to 100
In addition to doc for doc while please try doc linspace and doc colon

11 years ago | 1

Answered
MATLAB HELP to write a function.
Here's a start: x = pi/4; ideal = cos(x); approx = 1; k = 0; while ( abs(approx - ideal) > ... ) ...

11 years ago | 1

Answered
How to change scatter plot fonts
set(h1,'marker','*'); set(h2,'marker','+');

11 years ago | 2

Answered
Combining 2 signals into 1
Please try: plot(n,xn,n,ns); For more info: >> doc plot

11 years ago | 0

Answered
Strings ASCII and character mapping Questions
doc char doc uint8

11 years ago | 0

| accepted

Answered
Fourier transform with both time vector and data vector
doc pwelch

11 years ago | 0

Answered
Basic Looping Help Please?
Try using a |while| loop instead of a |for| loop.

11 years ago | 0

Answered
Help with Fourier transform fft
function [ X,f,t ] = mydft(x,Fs) % Assumes x is an N x 1 column vector % and Fs is the sampling rate. ...

11 years ago | 1

| accepted

Answered
Help plotting parametric equations
MATLAB is case sensitive. So please try plot(X,Y); Also, please use |./| instead of |/| in the two equations.

11 years ago | 4

| accepted

Answered
how can I apply low pass filter to a time series data
>> doc fdatool >> doc filter >> doc designfilt

11 years ago | 0

| accepted

Answered
Programmatically create annotation with hyperlink
Here are a few links that should help: * <http://www.mathworks.com/help/simulink/ug/make-an-annotation-interactive.html#bt89s...

11 years ago | 0

Load more