Risposto
editing a variable
Please try: Y = X(41:50); OR: Y = X(end-9:end); HTH. Rick

quasi 13 anni fa | 0

Risposto
Simulink communication in distributed system
No, those are not features of SimEvents. But, we do offer an add-on for MATLAB called the _Database Toolbox_ that does provide ...

quasi 13 anni fa | 0

Risposto
Simulink communication in distributed system
You may want to consider using _SimEvents_, which is an add-on package that works on top of Simulink. For more information: <h...

quasi 13 anni fa | 1

Risposto
Combine many matrices into one
Please try: X = [ A ; B ; C ; D ; ... ; J ]; HTH. Rick

quasi 13 anni fa | 0

| accettato

Risposto
FFT not matching with Continuous FT
Again, using _dx_ as the scale factor is perfectly valid and correct. The results you are seeing in practice do in fact match t...

quasi 13 anni fa | 1

| accettato

Risposto
FFT not matching with Continuous FT
One other thing I noticed in the code you posted: When you plot the spectrum, you should plot the _magnitude_ of the Fourier co...

quasi 13 anni fa | 0

Risposto
FFT not matching with Continuous FT
Technically speaking, it is not a question of whether one scale factor is "correct" and the other "incorrect". The issue is rea...

quasi 13 anni fa | 0

Risposto
FFT not matching with Continuous FT
You have scaled by the appropriate constant for the _Continuous_ Time Fourier Transform (CTFT), but the |fft| function computes ...

quasi 13 anni fa | 0

Risposto
USE fft(x) as a highpass filter
You are welcome. If you don't mind, could you please "Accept" the answer that helped resolve this issue? Thanks! Rick

quasi 13 anni fa | 2

Risposto
Fitting exponential
I will assume that you have the 15,000 data samples stored in the MATLAB Workspace as a 15,000 x 1 column vector called |dataset...

quasi 13 anni fa | 3

| accettato

Risposto
Add model to another model
There are (at least) two different ways to do so. The first is to create a sub-system from your model, and to store that sub-...

quasi 13 anni fa | 1

Risposto
Can I set a range for spectrogram Analysis
Hi Ivy, There are several issues with the code that you have posted. Each of these issues falls into one of two broad categori...

quasi 13 anni fa | 1

| accettato

Risposto
can I use FFT to determine the variable frequency?
You may want to try the |spectrogram| function. For more information: >> doc spectrogram HTH. Rick

quasi 13 anni fa | 0

| accettato

Risposto
Creating Variables from Excel
You can use the |eval| command to convert a string into a variable, although I generally recommend against using |eval| unless a...

quasi 13 anni fa | 0

| accettato

Risposto
Creating Variables from Excel
As an alternative to using Excel, have you considered creating a GUI in MATLAB for the users to enter the values of these vari...

quasi 13 anni fa | 0

Risposto
How can I count the number of times a number appear in a vector?
Please try the following: A = [ 1 2 3 1 1 6 3 4 2 2 1 1 1 ]; x = unique(A); N = numel(x); count = zeros(...

circa 13 anni fa | 11

| accettato

Risposto
regarding about rician channel
>> doc ricianchan

circa 13 anni fa | 0

Risposto
How do I access and modify only the non diagonal entries in a matrix?
Please try the following: M = 8; N = 5; X = randn(M,N); idx = eye(M,N); Y = (1-idx).*X; Z = X(~idx); HT...

circa 13 anni fa | 4

| accettato

Risposto
simple quastion about randn and mean of random noise
The variable |n| is a column vector of 1000 instances of a Random Variable of mean 0 and variance 1. In the first case, if ...

circa 13 anni fa | 0

| accettato

Risposto
How do I obtain sampling points inside a pre-defined triangle?
Here is some code to get you started. It creates a two patch objects: one that defines a triangle in 3D space based on the X,Y,...

circa 13 anni fa | 0

Risposto
Variable definition
# Instead of having 200 separate variables, it might be easier to create a single variable containing the 20,000 values arranged...

circa 13 anni fa | 0

| accettato

Risposto
Sorting raw data
Please provide the following information: # What specifically are you trying to do? # What have you tried so far? # What is...

circa 13 anni fa | 0

Risposto
emlc mxArray issue
# Could you please fix the indentation of the code in your question to make it a bit easier to read? # I do not see where you ha...

circa 13 anni fa | 0

Risposto
Is concatenation of signals possible in matlab
Please try the following: % Exponential signal: u = exp(...); % impulse signal: v = zeros(...); v(...) = 1; ...

circa 13 anni fa | 0

| accettato

Risposto
Delay time and FFT
As for the FFT, please try: >> doc fft HTH. Best

circa 13 anni fa | 0

Risposto
Delay time and FFT
Please see the following answer: <http://www.mathworks.com/matlabcentral/answers/10742-time-delay-for-time-domain-function Ti...

circa 13 anni fa | 0

Risposto
Generate DoE matrix and test plan
Do you have access to the Statistics Toolbox? If so, there are some functions provided there related to DoE and SPC. HTH. ...

circa 13 anni fa | 0

Risposto
Matrix n x n input
By the way, you can always find out the value of |n| even if you do not know what it is in advance. You can also find out wheth...

circa 13 anni fa | 0

Risposto
Matrix n x n input
You do not need to know the value of |n| at the beginning, but depending on what you want to do with your matrix, you may or may...

circa 13 anni fa | 0

Risposto
Noise in ECG data
Everything that you are doing looks correct, as far as I can tell. When you say that "Passing through the filters causes ripple...

circa 13 anni fa | 0

Carica altro