Respondida
Using normpdf() and a for Loop to Generate Multiple Gaussian Random Variable Arrays
helpwin randn HTH, Coulda been more verbose, but here it's monday morning 0800

casi 11 años hace | 0

Respondida
Matlab command history question
To make things like such searches possible I have this in my startup.m-file: filename = fullfile('/home','bjorn','matlabrun...

casi 11 años hace | 0

Respondida
Pair-wise operation on two vectors that avoids double calculation
This made me curious about how the JIT-compiler performs. This function shouldn't do too many extra operations: function Ad...

casi 11 años hace | 0

Respondida
Gradient of a function of two variables?
If you want a symbolic-like gradient you'll have to do it with symbolic variables: syms x y F = x^2 + 2*x*y − x*y^2 ...

casi 11 años hace | 1

Respondida
angle-between-a-vector-and-the-positive-x-axis
Have a look at the help for atan2. HTH

casi 11 años hace | 0

Respondida
Faster method of creating list of looped row vectors?
kres=1; kz=0; K=[]; This is the way I'd go about it: x = -3:kres:3; y = -3:kres:3; z = 0; [x,y,z] = meshgrid(x,...

casi 11 años hace | 0

| aceptada

Respondida
How to solve overdetermined vector equation?
Use pen and paper, draw the standard little sketch for spherical-and-Cartesian coordinates... Then you get: a2 = acos(v3...

casi 11 años hace | 0

Respondida
How to fit multiple gaussians over a 3-D histogram
I think this should get the job done: [nHist,xHist] = hist(Data,extra,parameters); twoGausianFCN = @(pars,x) pars(1)*exp...

casi 11 años hace | 1

| aceptada

Respondida
Exact number of digits output in num2str
Well you get part of the way with %4.2f, as in num2str(pi,'%4.2f') that breaks down for large numbers alike pi*1e12, but...

casi 11 años hace | 4

| aceptada

Respondida
how can i take the anti log of my filtered(denoised) image...??
anti-log? Ought to be: D = exp(d); HTH

casi 11 años hace | 0

Respondida
how to realize 'contour' plotting with different spacings?
Instead of calling the function with 100 to get 100 iso-spaced contourlines you should calculate the potential-levels of interes...

alrededor de 11 años hace | 0

| aceptada

Respondida
[DEPRECATED] What frustrates you about MATLAB?
That a call to contour where one specifies a single colour for the contour-lines still modifies the clims of the figure is frust...

alrededor de 11 años hace | 1

Respondida
How do I find what row and column a specific element is in?
Seems you're asking for sub2ind HTH

alrededor de 11 años hace | 0

Respondida
Solving a non-linear second order ODE with Matlab
Another pointer... You have in fact not separated your DE correctly. You get y1' directly from your DE if you change dp/dr wi...

alrededor de 11 años hace | 0

Respondida
pls help me with matlab code for STFT of audio signal in wav format and to plot pitch contour
Have a look at the help for: spectrogram That function should give you the stft with a load of options about windowing a...

alrededor de 11 años hace | 0

Respondida
bessel function at the matlb
Try the matlab help functions: lookfor bessel and then look at the help for the relevant function listed: help ...

alrededor de 11 años hace | 0

Respondida
How to Reconstruct 3D model of an object from Biplanar X-rays of it using Direct Linear Transformation in MATLAB? Any link available?
In principle this cannot be done - the reason is (if I interpret the bi in biplanar as meaning that you have 2 X-ray images of t...

alrededor de 11 años hace | 0

| aceptada

Respondida
how to add color pixels to a grayimage?
Exactly how you need to start off depends on your current image format, but I'll start with the assumption that it is an N x M d...

más de 11 años hace | 0

Respondida
How do I solve min ||y - A(x)||2 efficiently when A(x) is function (fourier ish) and x is large?
1, start rewriting your function A without calls to the fft-family functions - simply replace them with multiplications with the...

más de 11 años hace | 2

| aceptada

Respondida
How to enhance the historical text documents?
Seems like you have fairly good contrast already. I got some improvement with this: im = imread('DSC03961.JPG'); hsv =...

más de 11 años hace | 2

Respondida
Computing pseudo-inverse and norms using pinv
Well I have no idea why you should use the equation x=pinv(m)*b to get the pseudoinverse and the norms (whatever norms ...

más de 11 años hace | 0

Respondida
How to extract Color Histogram ?
These file exchange contributions seems to produce 3-D colour histograms: <http://se.mathworks.com/matlabcentral/fileexchange...

más de 11 años hace | 0

Respondida
converte UNIX time to Human readable format.
Take a look at datestr (or some of the other functions in the date-family): datestr(matlab_time,'yyyymmddTHH:MM:SS') or ...

más de 11 años hace | 1

| aceptada

Respondida
how to pass an argument to python?
Why not use sprintf? exce_str = sprintf('python %s if the first argument is a string %02d with a second integer ergument',s...

más de 11 años hace | 0

Respondida
How to do 2D extrapolation
My guess is that the "best" way to go about this is to use your data to estimate all coefficients in the wave-equation in cylind...

más de 11 años hace | 0

Respondida
using ode45 to solve a non-linear system of coupled ODE's
# in your definition of W you're mixing doubles and function handles. # write your ode-equations as one m-function - it become...

más de 11 años hace | 0

| aceptada

Respondida
diffusion model for 2D images
If I get this right... Linear diffusion you can calculate by straightforward convolution with a Gaussian kernel, and that ope...

más de 11 años hace | 1

Respondida
how to find contour inflection points?
Inflection points ought to be rather simple to calculate (function below should get the job done), but the actual contour-lines ...

casi 12 años hace | 0

| aceptada

Respondida
Radon transform in matlab
Why would you want to repeat the process in the first place? If you have data for every 0.1 degree (according to your calculatio...

casi 12 años hace | 0

Cargar más