已回答
I want to solve the below mentioned system of ODEs. However I get the warning "Explicit solution could not be found. > In dsolve at 194 " Can anyone explain me why?
First of all, the first five lines are not needed. To answer your problem: this nonlinear differential equation system can not b...

10 years 前 | 0

已回答
plotting from one gui into another
I use the programmatic way of creating GUIs but the following should work in GUIDE too. # create the first GUI with a pushbut...

10 years 前 | 0

已回答
limit to infinity of Left Riemann Sum
If I am not mistaken, you try to determine the limit of the left Riemann-sum for the value of the definite integral. Of course y...

10 years 前 | 0

| 已接受

提问


Convert from cell to string
I have the following problem. I have a sentence as a string. I wan to process some words in it. My idea was to isolate the words...

10 years 前 | 3 个回答 | 0

3

个回答

已回答
Coupled ODE with ode45
I found the mistake. It was a sign. :) The correct function is function dz = myode(v,z) alpha = 0.001; C0 = 0.3;...

10 years 前 | 0

| 已接受

已回答
Coupled ODE with ode45
Code your function as follows. function dz = myode(v,z) alpha = 0.001; C0 = 0.3; esp = 2; k = 0.044; f...

10 years 前 | 0

已回答
How do I get the x,y coordinates from the scatter graph I generated?
You created the scatter plot in view of vectors a and b. So those are the coordinates. Supposing you only have the scatter plot ...

10 years 前 | 0

已回答
Coupled ODE with ode45
On line dydV = @(V,y) -alpha*(1+eps.*X)./(2*y); X is not included. I would solve it as a coupled system or solve it analytical...

10 years 前 | 0

已回答
Building a GUI from user input
function myGUI S.f = figure; S.row = uicontrol('Style','edit', 'Units','normalized', ... 'Position',[0.4 0.6 0.1 ...

10 years 前 | 0

| 已接受

已回答
Find array elements from condition on indices w/o loop
If you regard A as the points on a plain, than you have the x and y coordinates of those specific points stored for example in m...

10 years 前 | 1

已回答
Error: Attempted to access din(289,1); index out of bounds because size(din)=[288,543].
The error occurs first when i=m+1 (ie. 289) and j=2 since you refer to din(289,1). In this case the debugger is useful.

10 years 前 | 0

| 已接受

已回答
I don't get the desired output when running the following code. The output generated is shown in the image.
I do not see the image (perhaps you did not attach it), but the error in your code is the following. You want to display a strin...

10 years 前 | 0

已回答
What is the differences between wavrecord and audiorecorder in matlab ?
Do not use wavrecord, since it is removed. If anyone has a newer version of MATLAB, he/she can not use your code. <http://www.m...

10 years 前 | 0

| 已接受

已回答
How to find the roots of a derivative
I recommend to differentiate V(theta) by hand and then use fzero.

10 years 前 | 1

已回答
What does this fsolve error message mean: FSOLVE cannot handle non-square systems; switching to Gauss-Newton method?
You set the vector of the initial solution to size 299 (so 299 number of unknowns are expected). However in the function definit...

10 years 前 | 0

已回答
I'm using Matlab 7.0. How can I call a function? "File/New/Function" is missing.
Not a problem. It is just a help for you so that MATLAB creates a sample in advance. I never use this feature because it is not ...

10 years 前 | 1

已回答
I'm using Matlab 7.0. How can I call a function? "File/New/Function" is missing.
The syntax of writing a function is what you have written. When you want to call it, do out = magic(in) Be careful thoug...

10 years 前 | 1

已回答
Cannot compute the following expression using "Symsum"
Since B is a vector not a function, you can use <http://www.mathworks.com/help/matlab/ref/cumsum.html cumsum>. That is a = ...

10 years 前 | 0

| 已接受

已回答
Putting multiple equations into a function
Create this function: function du = diffeq(t,u) k1 = 5; k2 = 5; m1 = 2, m2 = 2; w1 = 5; L1 = -2; L2 = 2; du = z...

10 years 前 | 0

| 已接受

已回答
Symbolic Math Toolbox - Derive a function with respect to another function
I also bumped into this question when I wanted to create the equation of motion using this method. Matlab's Symbolic Math Toolbo...

10 years 前 | 2

已回答
How can put or place cursor a tex edit box in GUI without a mouse click?
I think someone else also asked it. Here is the answer: <http://www.mathworks.in/matlabcentral/newsreader/view_thread/80041>

10 years 前 | 0

提问


Latex interpreter in MATLAB Answers
Is there a LaTeX interpreter integrated into the MATLAB Answers? If not, is it scheduled? It would be great.

10 years 前 | 2 个回答 | 0

2

个回答

已回答
How to find co-ordinates of a point in 3D using Matlab functions?
Let the coordinates of the unknown point be x,y,z and m1(x1,y1,z1), m2(x2,y2,z2), m3(x3,y3,z3), moreover the known Euclidean dis...

10 years 前 | 1

已回答
Combining Central Difference Scheme and Gaussian Elimination to Solve Matrix
Your Gauss-elimination program takes effect after this line: %% Solve the linear system If you must use your Gauss-elimi...

10 years 前 | 0

| 已接受

已回答
Similarities between matlab and c programming??which toolbox to use?
For the first question: core MATLAB is enough. The syntax (with an example) is: correctAnswer = false; while ~correctAns...

10 years 前 | 0

| 已接受

已回答
Is a there a Coder Product (Embedded, Simulink,or Matlab) which supports version 2010SP1
I do not know about any third-party product which converts MATLAB code to C/C++ code. So I am afraid, you will have to do it man...

10 years 前 | 0

已回答
Combining Central Difference Scheme and Gaussian Elimination to Solve Matrix
I preserved the structure of your code, but modified it. Now it perfectly works. %% Boundary Conditions x_0 = 0; x_n ...

10 years 前 | 1

提问


Overload only several functions
Hi, I am totally new to Matlab OOP. For my program to work, I need to redefine the built-in min, max and abs functions. Howev...

10 years 前 | 2 个回答 | 1

2

个回答

已回答
How to eliminate the elements in an array from another array?
Simply, c = a; c(b) = [];

10 years 前 | 0

已回答
how to find non zero minimum
Lets suppose your matrix is called A. Then you first select those elements that are non-zero (i.e. positive) and after that use ...

10 years 前 | 6

加载更多