답변 있음
setting ode45 to solve at even timesteps
If you give it an array with the times for which you want the solution instead of just the start and stop time in the TSPAN inpu...

대략 13년 전 | 0

답변 있음
Is my calculation too complex for Matlab?
Your qs are all arguments to sin and cos (if in see it right), since they are periodic your equations seem bound to have an infi...

대략 13년 전 | 0

답변 있음
how can i solve the error of reading permission during loading of number of images from a folder
Looks to me as if you're trying to open the directory itself ('./') as if it was an image. The return from dir called on a direc...

대략 13년 전 | 0

| 수락됨

답변 있음
how do I get the STFT inverse
Why not try the generic first step: LOOK AT THE FILE EXCHANGE? I found: <http://www.mathworks.com/matlabcentral/fileexchan...

대략 13년 전 | 0

답변 있음
Is it possible to set watchdogs (memory, exec time) in MATLAB?
If you look at the documentation for the ode-solvers, you find that for those you can send in an events-function in the options....

13년 초과 전 | 1

답변 있음
Tilt a 2D image within a 3D space?
This file exchange submission should let you wrap an image to any flat surface: <http://www.mathworks.se/matlabcentral/fileexch...

13년 초과 전 | 0

답변 있음
MATLAB code for right handed circular polarization
That it is possible to rewrite A*cos(t) + A*sin(t) to A*(cos(t)+sin(t)) clearly shows that that is a scalar quantity - such has ...

13년 초과 전 | 0

문제를 풀었습니다


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

거의 14년 전

답변 있음
How to compute entropy more efficiently?
On my version of matlab I get a big reduction in run-time by doing: h1 = p1*log(p1.'); or h1 = p1.'*log(p1); de...

거의 14년 전 | 0

| 수락됨

답변 있음
How to solve multiple ODEs to fit empirical observations by optimizing multiple constants?
If the ODEs are that simple it should just be to integrate them analytically, then you'd simply end up with a well overdetermine...

거의 14년 전 | 0

답변 있음
How can I avoid nested for loops when varying multiple array elements?
You should have a look at: fminsearch that is the first optimization function to use for problems like this. That way yo...

거의 14년 전 | 0

| 수락됨

답변 있음
Avoiding inverse of a matrix
Well if it is just one and the same matrix you're using for every case it must be better to "invert" it once - then the equation...

거의 14년 전 | 0

답변 있음
Counting the unique values
Pat, I strongly suggest you change the encoding of your data! Make your variable an integer array with for example 0 for 'd' ...

대략 14년 전 | 1

답변 있음
How can i find max & min of this 2 variables function?
Have a look at the chebfun project: <http://www.mathworks.se/matlabcentral/fileexchange/23972-chebfun>. There are brilliant func...

대략 14년 전 | 0

답변 있음
Positivity constraint and deconvolving data with negative values
Well, why not just try to add slightly different offsets to your data and see if the deconvolution is invariant to that. And if ...

대략 14년 전 | 0

답변 있음
How can I color code lines in graphs depending on quality of data?
You might benefit from the following file exchange submissions: <http://www.mathworks.se/matlabcentral/fileexchange/14677-cli...

대략 14년 전 | 0

답변 있음
I seem to have loads of free RAM even though my script is taking 10 minutes to run
Well, then it seems as if memory is not the limiting factor for the performance of your algorithm, maybe CPU-time/cycles are wha...

14년 초과 전 | 2

| 수락됨

답변 있음
Plot trajectory in 2D
I don't think I've seen exactly that type of plot. But take a look at the documentation to "quiver" that should be possible to u...

14년 초과 전 | 1

| 수락됨

답변 있음
Matrix elaboration
Msub = M(1:5,1:6); But there are "getting started" documentation to get you up and running in no time, also at the command-...

14년 초과 전 | 0

| 수락됨

답변 있음
Value Interpolation.
V_interesting = V_with0(1:8:end); HTH

14년 초과 전 | 0

답변 있음
How to do the Anderson Darling Goodness-of-fit test in Matlab? (I am ideally looking for a script)
There are a number of submissions on the file exchange that seems to be related to this request: <http://www.mathworks.co.uk/...

14년 초과 전 | 0

답변 있음
How to plot a trapezoidal 2D section in matlab?
Try: pcolor HTH

14년 초과 전 | 0

답변 있음
Saving matlab code / good programming practice
Write functions that does the job. Then one script that loads the data, calls the functions and saves the results. You can use t...

14년 초과 전 | 0

답변 있음
Image analysis does not work
In addition do Daniel's answer, I'd like to suggest you ask your colleagues to run: which nrm -all then send you the (po...

14년 초과 전 | 2

답변 있음
Image reconstruction
My quick guess is that you have too sparse data. The resolution of the inverse radon transform depends on the number of projecti...

14년 초과 전 | 0

답변 있음
Need code for Median Filtering on Color images
Either do the median filter on the individual R,G and B planes. Or trasform the RGB image to some other colour format, for examp...

14년 초과 전 | 0

| 수락됨

답변 있음
Unconstraint optimization: providing good intial guess does not lead to lower calculation times
Maybe it is so that your error-function is "nice"? With nice I mean that is doesn't have a large number of valleys and gorges (i...

14년 초과 전 | 0

답변 있음
solve non linear equation
I'd change the definition of your function Black_Imp_Vol to: function F = Black_Imp_Vol(x,r,t,P,K,C) F = exp(-r*t)*(P*no...

14년 초과 전 | 0

| 수락됨

답변 있음
Conversion of video to images
You could give aviread a try. Otherwise look in the file exchange, there are tools for dealing with files in many video-formats ...

14년 초과 전 | 0

더 보기