Feeds
提问
My differential equation solution doesn't work with dsolve
I'm trying to solve the Lane-Emden equation numerically, and my code for the solution is the following: syms y(x) dy = d...
6 years 前 | 1 个回答 | 0
1
个回答提问
How can I make it so a while loop doesn't stop if one of the elements in a vector going into it fulfills the condition?
My code looks something like this: while(sqrt(x.^2 + y.^2 + z.^2)<1) some conditions which increases the values of x, ...
7 years 前 | 0 个回答 | 0
0
个回答提问
How to get my code to define variables
Hi, I've written a quick piece of code which is the following: function [Delta, theta, theta1, theta1prim, theta2prim, thet...
9 years 前 | 2 个回答 | 0
2
个回答提问
Subscripted assignment dimension mismatch.
Hello, I'm getting the error 'Subscripted assignment dimension mismatch.' for this piece of code: a = -3; b = 3; ...
9 years 前 | 1 个回答 | 0
1
个回答提问
How do I get my loglog plot to chose the correct interval?
Hi, I'm trying to get a loglog plot to show the correct interval. The code is meant to show numerical derivation of sin(x), here...
9 years 前 | 0 个回答 | 0
0
个回答提问
How to plot a graph of convergence for Newtons method of three variables?
Hi, I have used Newtons method to find three unknown variables from three equations, but now I need to plot the graph to show th...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to get my code for Newtons method for non-linear equationsystems working?
I'm trying to make my code for Newtons method for non-linear equationsystems working. I have three equations and three variables...
9 years 前 | 0 个回答 | 0
0
个回答提问
How to make 'solve' work?
Hello, I have just recently started using Matlab and are still learning the basics. I have tried to solve an equation but the 's...
9 years 前 | 1 个回答 | 0