Respondida
What does this refers to?
That is the norm. It is implemented in MATLAB with norm() Without additional information, it is not clear which norm || || re...

casi 14 años hace | 0

Respondida
What does this refers to?
I'm assuming this means the average (or mean). In that usage, it is a case of the bra-ket notation introduced by Dirac. For a...

casi 14 años hace | 0

| aceptada

Respondida
How to set colors in quiver (2D)?
I would separate the elements which are turning inward vs outward since you have a vector of indices and use two different calls...

casi 14 años hace | 1

| aceptada

Respondida
Lena Image Fourier Transform
Yes, use fft2() This question seems identical (but with less detail) to this one: <http://www.mathworks.com/matlabcentral/...

casi 14 años hace | 0

Respondida
How to implement the following?
As you note in the tag, that notation is used most often for the inner product, which is a linear functional, a linear operator ...

casi 14 años hace | 0

| aceptada

Respondida
Difference between "diff(x^2)" and "2*x"
syms x1 x2 F; U=x1^2+(x2-F)^2; sol = solve(diff(U,x1)==0,diff(U,x2)==0,x1,x2); sol.x1 sol.x2 Identical for...

casi 14 años hace | 0

Respondida
Can an mfile(s) written in Matlab on Windows be run on matlab for a Mac without compatibility issues?
Yes, unless that M file is using some specific Windows system commands, or is really a mex file compiled for Windows

casi 14 años hace | 0

Respondida
Undefined function 'awgn' for input arguments of type 'double'
Does this command return a 1: license('test','communication_toolbox') Are you in a networked configuration where only so ...

casi 14 años hace | 0

| aceptada

Respondida
What syntax can I use, say, in the calculation of the number of tanks of a plant where the length of each tank should not be greater than 50? Below is the code I tried...
length is a MATLAB function so you should try to avoid using variable names that are the same as MATLAB function names. area is ...

casi 14 años hace | 0

Respondida
Why is airy(3,1) complex? (No numerical round-off in the complex part)
What release are you using? >> format long >> isreal(airy(3,1)) ans = 1

casi 14 años hace | 0

Respondida
What's "randval(a,b)"?
It is not a MathWorks' function. So apparently you have downloaded, or somebody downloaded, or has written a function randval()....

casi 14 años hace | 0

Respondida
Need help selecting the max of array A, then selecting corresponding array B
The problem is the 's' at the end of your fprintf() statement printf('\n The country with the lowest percentage of wind en...

casi 14 años hace | 0

| aceptada

Respondida
Need help selecting the max of array A, then selecting corresponding array B
What about just [maxval,index] = max(pe); cn{index} By using cn{index} you get the country back as a string -- a ...

casi 14 años hace | 0

Respondida
Performing PSD from FFT. How to unpack FFT?
Hi Elena, You can use your own window function with pwelch.m. You just supply a vector, then you can just overlap by 634 samp...

casi 14 años hace | 0

Respondida
How to calculate diagonal for NxN matrix ?
Just use trace() trace(A)

casi 14 años hace | 0

Respondida
how to read a period of wav file in matlab?
If you use wavread, you can use an argument to read a range of samples. You would have to increment that in a loop. The same ...

casi 14 años hace | 0

| aceptada

Respondida
How does one create a dataset from a large array and subsequently name the variables?
Why don't you organize the excel file and then create the dataset directly from the excel file with the A = dataset('XLSFil...

casi 14 años hace | 0

Respondida
how i can convert matrix to dat
You can just use save with the -ascii option. x = randn(10,10); save mymatrix.dat x -ascii Or the forms: save('mym...

casi 14 años hace | 2

| aceptada

Respondida
What command prompts for file name then creates/opends file?
Look at uigetfile [filename, pathname, filterindex] = uigetfile( ... {'*.mat','MAT-files (*.mat)'; ... ...

casi 14 años hace | 0

| aceptada

Respondida
How can I convert 2-D array to 1-D array.
oprtn_pts = randn(3,2); oprtn_pts = reshape(a,6,1); It takes the elements from oprtn_pts columnwise.

casi 14 años hace | 0

Respondida
Dear all, my question is how to compute the power density spectra for a discrete velocity measurement.
You have a 1-D vector (row or column) vector and you want to compute a power spectral density estimate? Do you have the Signa...

casi 14 años hace | 1

Respondida
Fourier filtering in Matlab
Unfortunately padding the time series with zeros is not going to improve your ability to recover oscillations for which your ori...

casi 14 años hace | 0

Respondida
Using simulink: why have the digital passband blocks disappeared?
Can you please say specifically which blocks you are referring to? Are you sure these blocks are part of core Simulink and not p...

casi 14 años hace | 0

Respondida
where is the error?
I can run this without error. I think you have some variable in your workspace that is conflicting with this and causing the err...

casi 14 años hace | 1

Respondida
How do you write a FUNTION-M file?
Your title is not an accurate description of your post. Your post is asking somebody to write specific code for you, not a gener...

casi 14 años hace | 0

Respondida
How can i do hough transform
The Image Processing Toolbox has a function, hough.m, and the Computer Vision System Toolbox has a System object, vision.HoughTr...

casi 14 años hace | 0

Respondida
Error using ==> plot Vectors must be the same lengths.
You have to have an x and y variable that are the same length So ScopeData.time and ScopeData.signals.values(:) do not ...

casi 14 años hace | 0

Respondida
How can I solve "Undefined function or method 'IFFT_oversampling' for input arguments of type 'double'."?
where did you get this function from? IFFT_oversampling This is not a MathWorks' function, so if you have downloaded it f...

casi 14 años hace | 0

Respondida
extract a thin band of frequencies from entire spectrum using FFT
You can just create a vector of zeros to match the size of the original DFT vector and then fill the correct indices of the vect...

casi 14 años hace | 0

Respondida
Sum all the Channels in matrix
M = randn(100,100,5); R = sum(M,3); Did you read the help for sum?

casi 14 años hace | 1

Cargar más