답변 있음
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...

거의 12년 전 | 0

답변 있음
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 ...

거의 12년 전 | 1

답변 있음
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 ...

대략 12년 전 | 0

| 수락됨

답변 있음
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. ...

대략 12년 전 | 0

| 수락됨

답변 있음
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); ...

대략 12년 전 | 0

| 수락됨

답변 있음
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...

대략 12년 전 | 0

| 수락됨

답변 있음
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...

대략 12년 전 | 0

답변 있음
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...

대략 12년 전 | 0

| 수락됨

답변 있음
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...

대략 12년 전 | 0

| 수락됨

답변 있음
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...

대략 12년 전 | 0

| 수락됨

답변 있음
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 ...

대략 12년 전 | 0

답변 있음
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: ...

대략 12년 전 | 0

답변 있음
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...

대략 12년 전 | 0

답변 있음
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...

대략 12년 전 | 2

| 수락됨

답변 있음
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...

대략 12년 전 | 1

| 수락됨

답변 있음
Convert a string to number
how about just using format long data = '0.0782238'; data = str2num(data); format long data

대략 12년 전 | 0

답변 있음
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...

대략 12년 전 | 0

답변 있음
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. ...

대략 12년 전 | 7

| 수락됨

답변 있음
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...

대략 12년 전 | 0

답변 있음
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 ...

대략 12년 전 | 0

답변 있음
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...

대략 12년 전 | 0

| 수락됨

답변 있음
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...

대략 12년 전 | 0

답변 있음
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-...

대략 12년 전 | 4

| 수락됨

답변 있음
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...

대략 12년 전 | 0

| 수락됨

답변 있음
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);

대략 12년 전 | 0

답변 있음
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...

대략 12년 전 | 0

답변 있음
Random Binary Sequence Generator
use randi() x = randi([0 1],10000,1);

대략 12년 전 | 2

| 수락됨

답변 있음
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 ...

대략 12년 전 | 0

| 수락됨

답변 있음
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 ...

대략 12년 전 | 0

| 수락됨

답변 있음
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...

대략 12년 전 | 0

더 보기