Respondida
solve any amount of systems of linear equations
Well, this sounds like a task from introduction to linear algebra, so have a read-up on over-determined problems, and under-dete...

más de 9 años hace | 0

Respondida
Image Normalization between range 0 - 1
It sounds like you need to ask your advisor what he wants. In my not necessarily humble opinion images ought to contain differen...

más de 9 años hace | 1

Respondida
fminsearch with vector function and vector output
For that function it is rather trivial, so you wouldn't need numerical methods. For a more general function f(x,a) it might ...

más de 9 años hace | 0

Respondida
how can i determined the spectrum of potential for a finite well
Well, to me it sounds like homework on quantum mechanics, so my suggestion is that you read the relevant chapter. In case you ne...

más de 9 años hace | 0

Respondida
What is best practice to determine if input is a figure or axes handle?
Simples, write those functions yourself, something along the lines: function OK = isfigure(h) if strcmp(get(h,'type'),...

más de 9 años hace | 0

| aceptada

Respondida
My files are a mess, please help
In addition to the above answer I'd like to add a few more points. # you write functions for a couple of reasons, one of the ...

más de 9 años hace | 0

Respondida
Plotting in GUI of Matlab
Keep the handles to the axes you create: axs(1) = subplot(1,2,1); axs(2) = subplot(1,2,2); Then make the axes you wan...

más de 9 años hace | 0

Respondida
I want to hold legends from different callback on same plot.
It seems that you might get what you want with the <http://se.mathworks.com/matlabcentral/fileexchange/31092-legendflex-m--a-mor...

más de 9 años hace | 0

Respondida
How to numerically determine parameters to make solution of differential equation equal to zero at a certain point?
The part with "Some parameters in the differential equation include randomly varying values at different values of x" sounds a b...

más de 9 años hace | 0

| aceptada

Respondida
Tangent line between 2 points in 3D
Well, you get the equation for the line between 2 points like this: r1 = [x1,y1,z1]; % First point r2 = [x2,y2,z2]; % se...

casi 10 años hace | 0

| aceptada

Respondida
Same optimization algorithm but different results?
We ran into similar results using fminsearch. This was for matlab-versions from around 2010-2011, and we boiled our problems dow...

casi 10 años hace | 0

Respondida
Solving a coupled system of differential equations with matrix form!!
Sure, Lets introduce a new variable z such that z(1) = y; z(2) = v; Then we have for Dz: Dz(1) = z(2); ...

casi 10 años hace | 0

| aceptada

Respondida
Solving a system of linear inequalities
...or if you want all points that satisfy the conditions you could do: D = {[0 1],[0 1],[0 1],[0 1],[0 1],[0 1],[0 1]}; ...

casi 10 años hace | 0

Respondida
Hi, how can I make my short time fourier transform function please help me
Simple: edit spectrogram HTH

casi 10 años hace | 0

Respondida
using a color map in a subplot
To me it sounds like you should use cmlines - a function that you can find in this file exchange submission: <http://se.mathw...

casi 10 años hace | 0

Respondida
Noise samples of gaussian mixture distribution
For any given u between 0 and 1/2 this looks like the sum of 2 zero-centred normal-distributions (however there seems to me that...

casi 10 años hace | 0

Respondida
Is there an algorithm/ way to get user defined pseudo inverse of a matrix?
Sure, have a good look at this excellent submission on solutions of inverse problems: <http://se.mathworks.com/matlabcentral/fil...

casi 10 años hace | 2

Respondida
sub histogram from histogram
Perhaps something like: for i1 = 1:size(a,2) [H1{i1},H2{i1}] = hist(a(:,i1)); end stairs(H2{2},H1{2}) hold ...

casi 10 años hace | 0

| aceptada

Respondida
output seems incorrect of Cartesian to Polar conversion
Your first and major problems are that # you use the interpolation in the wrong direction # your Cartesian coordinates are n...

casi 10 años hace | 0

Respondida
Can I plot eigenvalues corresponding to certain eigenvectors?
Well first you have to remember that the eigenvectors doesn't necessarily exactly match your desired one, so you'll have to be p...

casi 10 años hace | 0

| aceptada

Respondida
how to read last few rows/lines from a text file ?
If you can use something like this much is won: [q,w] = system(['tail -n ',num2str(nr_of_lines_to_read),' ',filename]); ...

casi 10 años hace | 2

Respondida
Constrained Optimisation in MATLAB
It seems your source code is different again from what you seem to want to do. I'll assume that the problem you want to solve...

casi 10 años hace | 0

Respondida
How to solve improper integral '1/sin(x)' at region with variables
For rational functions of trigonometric functions use the substitution z = tan(x/2) - see for example: <http://www-math.mit.e...

casi 10 años hace | 0

| aceptada

Respondida
Constrained Optimisation in MATLAB
Have a look at fmincon or if you don't have the optimization toolbox, you can find several useful entries at the file e...

casi 10 años hace | 0

Respondida
Polynomial Regression filter implementation
First have a look at sgolayfilt If you need to filter images and it's not enough to apply sgolayfilt along either dire...

casi 10 años hace | 0

Respondida
How to input crank nicolson into matlab?
Crank-Nicolson is for partial differential equations, this seems to be ordinary differential equations. Perhaps try matlabs ode2...

casi 10 años hace | 0

Respondida
non linear minimization problem
Am I correct in interpreting R+ as the N-dimensional positive real number sub-space? And you want to minimize E for a, b, and c...

casi 10 años hace | 0

Respondida
3D Matrix containing floating point values of intensity (FDK CT data), how to visualize in 3D in MATLAB?
Well, I guess you could use the vol3d tool by simply replicating your 3-D array into each R, G and B layer of the required 4-D s...

casi 10 años hace | 0

| aceptada

Respondida
How do I shift the origin in my scatter plot from (0,0) to (1,1)? Alternately, I am fine with a vertical and horizontal lines at (1,1). Please help!
Perhaps you find this file exchange submission useful: <http://se.mathworks.com/matlabcentral/fileexchange/54326-axes0 axes-0...

casi 10 años hace | 0

Respondida
why we are going for gabor filter?? what is the process involved in gabor filter? what are the different method for feature extration??
Well I've not read your "many papers" so I cannot tell why they do. Perhaps you can get a brief introduction here: <https://en.w...

alrededor de 10 años hace | 0

Cargar más