Answered
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...

9 years ago | 0

Answered
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...

9 years ago | 1

Answered
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 ...

9 years ago | 0

Answered
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...

9 years ago | 0

Answered
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'),...

10 years ago | 0

| accepted

Answered
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 ...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

Answered
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); ...

10 years ago | 0

| accepted

Answered
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]}; ...

10 years ago | 0

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

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 2

Answered
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 ...

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

| accepted

Answered
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]); ...

10 years ago | 2

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

Load more