Answered
How do I plot d using Matlab
Not sure why you are trying to construct your signal like this. Take advantage of MATLAB's vector operations. Nt = 1...

meer dan 10 jaar ago | 0

Answered
Decimation factor with RESAMPLE
resample uses upfirdn() under the hood, which is ultimately a MEX file implementation of a polyphase filtering of the input, so ...

meer dan 10 jaar ago | 1

Answered
How to perform K-means for multidimensional data i.e of size 9*105
Hi, do you have the Statistics Toolbox? If so see the help for kmeans() However, kmeans() assumes that rows are observations ...

meer dan 10 jaar ago | 0

| accepted

Answered
What is the syntax of fprintf? Suppose there are two flot numbers 1 and 2, and F_ID is the file identifier. Write the command to sabe the two numbers to F_ID?
fprintf(F_ID, '%1.1f %1.1f\n', X) where X has two columns. X is the variable in the MATLAB workspace contain the numbers. ...

meer dan 10 jaar ago | 0

| accepted

Answered
Standart deviation between two matrix
What do you mean "between two matrix" std() on a matrix returns the standard deviation of the columns A = randn(100,6); ...

meer dan 10 jaar ago | 0

| accepted

Answered
I need a code for Haar wavelet transform.
You can use wavedec2() with either wavelet name 'haar', or 'db1' load woman; J = 4; % level of the MRA [C,S] = wavede...

meer dan 10 jaar ago | 0

| accepted

Answered
how to apply convolution to two,two dimensional signals ..let me illustrate you in an elaborate way ..if I(x,y) is one two dimensional signal and H(x,y) is another signal varying in both x and y directions.how can i convolve both the signals
Simply using conv2() You can also see the help for filter2(). Perhaps one of your matrices is a 2-D FIR filter for the data m...

meer dan 10 jaar ago | 0

Answered
using char as formula inside a script
What about just using subs (and you must mean -cos(2) not cos(2)) syms x funct = sin(x); intgl = int(funct) finval...

meer dan 10 jaar ago | 0

| accepted

Answered
Why is there an error?
The simple answer is your input argument is spelled numpolys in the function declaration, but you spell it numploys in the for...

meer dan 10 jaar ago | 0

| accepted

Answered
why is periodogram(y,w) not periodogram(y.*w)
The difference is that the syntax periodogram(y,w) uses the window normalization constant explained here: http://www.mathwork...

meer dan 10 jaar ago | 0

| accepted

Answered
How to replace middle value of matrix 4x4 with the other matrix 2x2?
A = randn(4,4); B = randi([0 1],2,2); A([6 7 10 11]) = B; I determined those linear indices using: sub2ind([4 ...

meer dan 10 jaar ago | 0

Answered
how to apply dwt and inverse dwt for an image
Are you sure it is just not the scaling of the image in imshow() that is causing you problems? For example, note: ...

meer dan 10 jaar ago | 0

Answered
How can I convert more column vector into cell array
Maybe you need to be more precise x = randn(1000,1); x = {x}; Or let's assume you have the column vectors in a matri...

meer dan 10 jaar ago | 0

Answered
Adding noise with certain standard deviation to uncorrupted data
when you say 0.1047 rad/second, do you want these values to be bounded by a certain interval? or is the frequency value continuo...

meer dan 10 jaar ago | 2

| accepted

Answered
sampling rate and fft
No, you don't need to specify the sampling rate, but if you wish to create a meaning frequency vector, then you need to know the...

meer dan 10 jaar ago | 1

| accepted

Answered
Convert a string to number
how about just using format long data = '0.0782238'; data = str2num(data); format long data

meer dan 10 jaar ago | 0

Answered
Wich app/tool is suitable to elaborate experimental data?
The answer is likely YES, but I'm afraid you need to be much more specific about what your data are and what you are trying to d...

meer dan 10 jaar ago | 0

Answered
how to calculate and plot power spectral density of a given signal
If you have the Signal Processing Toolbox, it is easiest to use periodogram(). That handles all the scaling for you. ...

meer dan 10 jaar ago | 7

| accepted

Answered
help using sortrows please
Hi Tom, sortrows(A) sorts the rows of the matrix A based on the entries in column 1. so: A = [100.3598 110.5698...

meer dan 10 jaar ago | 0

Answered
Select 'DeviceName' for dsp.AudioRecorder and dsp.AudioPlayer
Hi Daniel, can you try this: To select or change the Audio Hardware API, select Preferences from the MATLAB Toolstrip. Then ...

meer dan 10 jaar ago | 0

Answered
Select 'DeviceName' for dsp.AudioRecorder and dsp.AudioPlayer
Enter devinfo = audiodevinfo; then look at devinfo.output the name there should be a valid DeviceName property...

meer dan 10 jaar ago | 0

| accepted

Answered
Question about summations from excel (backwards sum)
There are a couple issues here. A sum that goes from 0 to 20 has 21 elements not 20 as you indicate. Further, summation is com...

meer dan 10 jaar ago | 0

Answered
finding out phase shift in time domain from FFT result
You can get the phase from the output of fft() Fs = 1000; t = 0:1/Fs:1-1/Fs; x = cos(2*pi*100*t-pi/4)+cos(2*pi*200*t-...

meer dan 10 jaar ago | 4

| accepted

Answered
Newbie: ploting Rectangular Signals and apply Grahm-Schmidt procedure??
Presumably you have these as N-dimensional vectors in the MATLAB workspace. Place those vectors as columns of a matrix and us qr...

meer dan 10 jaar ago | 0

| accepted

Answered
how to find the numerical integration in matlab
a = 1; b = 2; f = @(x) sin(x)./sqrt(a+b*sin(x)); quad(f,0,2);

meer dan 10 jaar ago | 0

Answered
how to find the numerical integration in matlab
What version of MATLAB are you using? There is an integral() function for numerical integration. Of course, you'll need value...

meer dan 10 jaar ago | 0

Answered
Random Binary Sequence Generator
use randi() x = randi([0 1],10000,1);

meer dan 10 jaar ago | 2

| accepted

Answered
how can I set double-value array input in a function?
This error message indicates that you have the function HighestPrice.m in a folder that is not on the MATLAB path. Let's say ...

meer dan 10 jaar ago | 0

| accepted

Answered
Is it possible to change 'file.m' to 'file.exe' ?
Yes, but it requires other products you may or may not have. One way: <http://www.mathworks.com/products/compiler/ MATLAB ...

meer dan 10 jaar ago | 0

| accepted

Answered
matlab code for digital filter design to remove gaussian noise from a speech signal ?
So what is not working about the above code? You can probably push the passband frequency a bit lower without affect intelligib...

meer dan 10 jaar ago | 0

Load more