Feeds
답변 있음
can anyone help me implement this?
Check out the documentation of "ode45", this should give you some idea of where to start. This uses the Range Kutta shooting me...
can anyone help me implement this?
Check out the documentation of "ode45", this should give you some idea of where to start. This uses the Range Kutta shooting me...
4년 초과 전 | 1
답변 있음
Having trouble making a for loop equation
It isn't obvious what you are trying to do, you have a 3D function and want to fit an order 8 polynomial to it in z only? In ...
Having trouble making a for loop equation
It isn't obvious what you are trying to do, you have a 3D function and want to fit an order 8 polynomial to it in z only? In ...
4년 초과 전 | 0
질문
Simulating lens tilt on image
I am currently trying to simulate the effect of lens tilt on a flat image (i.e., one that does not contain multiple depths of fi...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
Close all figures which are not docked
Is there any easy way to close all figures which are not docked? Either a high level command or a way to loop over figures and ...
거의 5년 전 | 답변 수: 2 | 0
2
답변답변 있음
I have a function that gives two outputs, what is the easiest way to use fzero on only the second output
No good way of doing this within Fzero, people have made that clear.
I have a function that gives two outputs, what is the easiest way to use fzero on only the second output
No good way of doing this within Fzero, people have made that clear.
대략 5년 전 | 0
| 수락됨
답변 있음
Using function syntax with stand alone executables
Having looked through all the answers to do with this, it appears it is just truly awful. I'm tempted to make a wrapper of the ...
Using function syntax with stand alone executables
Having looked through all the answers to do with this, it appears it is just truly awful. I'm tempted to make a wrapper of the ...
거의 6년 전 | 0
질문
Using function syntax with stand alone executables
If I generate a stand alone executable, lets call it myfun.exe, can I call this using the function rather than command syntax? ...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
I have a function that gives two outputs, what is the easiest way to use fzero on only the second output
I have a function [a,b] = fun(x) when I don't want to change the function. I want to find the value of x for which b returns ze...
거의 7년 전 | 답변 수: 2 | 0
2
답변질문
mtimesx crashes when used
After compiling the user submitted function mtimesx <http://www.mathworks.com/matlabcentral/fileexchange/25977-mtimesx-fast-matr...
7년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
i keep getting this Attempted to access y(1.5); index must be a positive integer or logical. when trying to implement a numerical hybrid scheme involving y(i+1/2) . here's the code so far: the problem is in line36
You can't call an index of an array with non-positive integer arguments. There is no 3/2 th entry of a matrix or vector, that d...
i keep getting this Attempted to access y(1.5); index must be a positive integer or logical. when trying to implement a numerical hybrid scheme involving y(i+1/2) . here's the code so far: the problem is in line36
You can't call an index of an array with non-positive integer arguments. There is no 3/2 th entry of a matrix or vector, that d...
8년 초과 전 | 0
| 수락됨
답변 있음
How to solve "Error using ' Transpose on ND array is not defined. Use PERMUTE instead." ?
My guess is that your variable "img" has more than 2 dimensions. Identify which 2 dimensions of "img = imread(str);" are the on...
How to solve "Error using ' Transpose on ND array is not defined. Use PERMUTE instead." ?
My guess is that your variable "img" has more than 2 dimensions. Identify which 2 dimensions of "img = imread(str);" are the on...
8년 초과 전 | 0
질문
Controlling output of ode solvers
I am currently running an ODE solver in the form dy = @(t,y) M*y; [tout,y_out] = ode45(dy, trange,yinit); % y_out is...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
Limiting "y" output of ODE solvers
I am currently running an ODE solver in the form dy = @(t,y) M*y; [tout,y_out] = ode45(dy, trange,yinit); ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Strange colorbar ticks, not standard form
I am finding the behaviour of matlab odd when I am making contourf plots. The data I have is low amplitude so typically the dat...
9년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
"XXX" requires more input arguments to run
All these answers are basically "give the function default parameters" which is not always a desirable solution. If I accidentl...
"XXX" requires more input arguments to run
All these answers are basically "give the function default parameters" which is not always a desirable solution. If I accidentl...
9년 초과 전 | 1
답변 있음
for about three days I have had this error message: Cell contents reference from a non-cell array object.
The problem is likely that one of X or y is not defined as a cell array. Can you put two lines of code before the error which...
for about three days I have had this error message: Cell contents reference from a non-cell array object.
The problem is likely that one of X or y is not defined as a cell array. Can you put two lines of code before the error which...
9년 초과 전 | 0
질문
1D Convolution over a slice within 2D data
If I have a matrix R which tabulates some function "R(x,y)" and I wish to calculate I(x,y) = int_{-inf}^{inf} dz P(z) R(x+z...
9년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
Solving N linear equations for N unknowns using arrays? Is this even possible?
As you have written it, it seems that sigma_a_InstrumentOneWest=sigma_a_InstrumentOneEast and the same for the instrument ...
Solving N linear equations for N unknowns using arrays? Is this even possible?
As you have written it, it seems that sigma_a_InstrumentOneWest=sigma_a_InstrumentOneEast and the same for the instrument ...
9년 초과 전 | 0
질문
Changing function logic parameters depending on outputs
If I have a function with 3 output arguments [a,b,c] = fun(x) I want the function only to calculate a,b,c if I actually c...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
Matlab UI crashes on startup in windows
When I start matlab on windows and don't enter any commands for a minute or so the cursor changes to a resize arrow and the UI n...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
What does permute actually produce?
Trying some calculations earlier, I have realised permute does not do what I thought it did. To clarify I did this % c...
대략 10년 전 | 답변 수: 1 | 0
1
답변질문
Dynamic scaling of ODEs
When dealing with (linear) ODEs which have a solutions that decay/grow approximately exponentially is there anyway to get the in...
대략 10년 전 | 답변 수: 0 | 0
0
답변질문
updating function list in a script.
As part of some code I am writing I am printing out symbolic variables into a .m file (so that they can be called with d.p. argu...
대략 10년 전 | 답변 수: 1 | 1
1
답변질문
simplifying symbolic expressions with factors of pi
If I have some symbolic expression say FF = besselj(1/2,x) FF = (2^(1/2)*sin(x))/(pi^(1/2)*x^(1/2)) I wish to cancel th...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Factorizing an expression into a function of one parameter symbolic toolbox
Say I have some general symbolic expression which is a function of many symbolic variables a,b,c,d,e,f... etc. e.g. FF = cos(a)...
10년 초과 전 | 답변 수: 0 | 0
0
답변제출됨
Express_as_exponential_series
Converts a symbolic expression S to the form S = sum_{k=1}^N c_k exp(b_k*t)
10년 초과 전 | 다운로드 수: 1 |
질문
Symbolic expansions, is it possible to express a solution as a series of exponentials
Lets say I have something like f_t = (A*cos(a*t) + B*sin(b*t))*(C*cos(c*t) + D*sin(c*t)), what I would like is something...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Simplifying numbers in symbolic function
Upon substituting into a symbolic expression I get very long analytic expressions for numbers, e.g. (2^(1/2)*(3^(1/2)*pi*(5^(...
10년 초과 전 | 답변 수: 1 | 0