Risposto
Noise in ECG data
Hi Talha, Here is some improved code: %% Computations: x = d; [N,P] = size(x); Fs = 500; dt = 1/Fs; t = d...

circa 13 anni fa | 0

Risposto
Noise in ECG data
Hi Talha, # Why are you using low-pass and band stop filters? Why not use two band-stop filters? # Is the noise you are trying...

circa 13 anni fa | 0

Risposto
phase VS frequency block !!!
*MATLAB Function Block* Another possibility would be to use the _MATLAB Function Block_ (R2011a or later) or the _Embedded MATL...

circa 13 anni fa | 0

Risposto
phase VS frequency block !!!
*FFT and Phase/Magnitude Blocks* You can use the "FFT" block to convert the signal from the time-domain to the frequency do...

circa 13 anni fa | 0

Risposto
problem of getting data from Simulink to Workspace with Matlab Fcn block
Simulink does not support character or string data types. I would recommend that you do these calculations in MATLAB instead. ...

circa 13 anni fa | 0

Risposto
Noise in ECG data
Hi Talha, # Do you know the sampling rate of the signal? # Also, what is the size of the time-domain representation (how m...

circa 13 anni fa | 0

Risposto
Error?
Please help us help you: # What product(s) are you using? # Describe what you were doing just prior to receiving this error?...

circa 13 anni fa | 2

Risposto
Digital filters
Hi Kim, Do you have access to the Signal Processing Toolbox in MATLAB? If so, you can use the |fdatool| to design the filter...

circa 13 anni fa | 0

| accettato

Risposto
Splitting an excel file using matlab
Yes, you can do this task with MATLAB. Please try the following: inputFile = 'myfile'; A = xlsread([ inputFile '.xlsx' ]);...

circa 13 anni fa | 1

| accettato

Risposto
Engineering Dynamics problem in Matlab, how is it done?
Also, here is an excellent book for beginners: <http://www.amazon.com/MATLAB-Introduction-Applications-Amos-Gilat/dp/04707678...

circa 13 anni fa | 0

Risposto
Engineering Dynamics problem in Matlab, how is it done?
1. Please complete the following tutorial: <http://www.mathworks.com/academia/student_center/tutorials/register.html Intera...

circa 13 anni fa | 0

Risposto
Checking the stability of an LTI system
The transfer function has a single pole at _z_ = _a_. To ensure stability, all poles must be located inside the unit circle in ...

circa 13 anni fa | 0

Risposto
m-file function as Simulink block
In your external MATLAB function, include the following line of code just after the function header: eml.extrinsic('pinv...

circa 13 anni fa | 0

Risposto
How to programatically send Update Diagram command to Simulink
Hi Paulo, Although not ideal, the following line of code should work: Simulink.BlockDiagram.getSampleTimes(SimFileName); M...

circa 13 anni fa | 0

Risposto
Can I launch a GUI directly from a folder?
If you are using Windows, you can create a |.bat| file that would launch MATLAB and immediately run a MATLAB script that would c...

circa 13 anni fa | 1

| accettato

Risposto
Multilevel contour plots
The following code shows how to create a contour plot at 3 different locations other than the _Z_=0 plane: N = 20; L = 3;...

circa 13 anni fa | 1

Risposto
Plotting contours with additional condition
Please try the following: thresh = 0.02; idx = ( (abs(imag(f)) < thresh) & (real(f)>=0) ); [C, h] = contour(x, y, idx, [...

circa 13 anni fa | 0

Risposto
call and run an external program in matlab under windows
You can call an executable program from the command line using the exclamation point or the system command: >> !hello will ...

circa 13 anni fa | 0

Risposto
Using a text file to title a plot.
The |title| function should work. For example: figure; plot(rand(50,1)); label = 'Some Random Numbers'; title(labe...

circa 13 anni fa | 0

Risposto
Inverse FFT
The difference in what you have and what you want is a constant scaling factor of 2*pi. That means the shape of your result is ...

circa 13 anni fa | 1

Risposto
Convert Color to Bone colormap
Please try: doc rgb2gray HTH.

circa 13 anni fa | 0

Risposto
changing value in a 2d array
Please try the following: A(1,1) = 1; A(1,100) = 1; A(1,1000) = 1; HTH.

circa 13 anni fa | 0

| accettato

Risposto
Mechanism for identifying row of matrix from a plot
I am not sure if this is a great idea, but it might help: t = 1:5; X = randn(100,5); Y = [ (1:100)' , X ]; plot(...

circa 13 anni fa | 0

Risposto
Reading console output
You can execute your console application from within the MATLAB Environment by calling the |system| function from either the MAT...

circa 13 anni fa | 0

Risposto
producing an equation to fit on a plotted data
Please try: sftool or cftool HTH.

circa 13 anni fa | 0

Risposto
Identification of Resonance frequencies
The problem is that the array |f| is of size 1 x 16385, whereas the array |aH| is of size 30000 x 1. When you call |semilogy(f,...

circa 13 anni fa | 0

Risposto
importing and read data file
You can use the |load| function to read the data from each MAT file into the MATLAB Workspace, and you can use the |plot| func...

circa 13 anni fa | 0

Risposto
FDA Tool
The _SOS Matrix_ is an _M_ x 6 matrix that provides the unscaled coefficients for the _M_ second-order sections that, when casca...

circa 13 anni fa | 0

| accettato

Risposto
different figures for nodes in clf plot
Please try: docsearch('"marker specifiers table"'); HTH.

circa 13 anni fa | 0

Risposto
Contour Plot: DATA COLLECTED vs TIME in date and hours
Sorry, |hour| and |minute| are not included in base MATLAB (they are part of the Financial Toolbox). Please try this instead:...

circa 13 anni fa | 1

Carica altro