Feeds
提问
Solving DE initial value problem symbolically in Matlab
Hello, I'm trying to solve a differential equation IVP symbolically with MATLAB, but my answer is different than the actual answ...
1 month 前 | 2 个回答 | 0
2
个回答提问
How do I delete specific parts of a graph
Hi, I'm plotting arc length of a function and I want to plot two curves; the first one is the entire curve and the second one on...
2 months 前 | 2 个回答 | 0
2
个回答提问
Convert a decimal approximation to exact value symbolically
Hi, I'm working with a definite integral and get a decimal approximation as my answer. I'd like to also get the exact solution: ...
2 months 前 | 2 个回答 | 0
2
个回答提问
Shading area between 2 curves (x function in terms of y)
Hello, I'm trying to shade an area between two functions (x depending on y), I shade the correct area but I get a reflection of ...
2 months 前 | 3 个回答 | 0
3
个回答提问
Accumulate total area between x-axis and a curve using a for loop
I'd like to accumulate the total area between a curve and x-axis in one go if possible using a for loop. I find points of inters...
2 months 前 | 1 个回答 | 0
1
个回答提问
Shading an area between two curves symbolically
I want to shade the area under the line y=2 and above the curve y=1+cos(x) from 0 to pi. I'm having trouble doing this. This is ...
3 months 前 | 1 个回答 | 0
1
个回答提问
How do I add the sum of 1st 3 elements of a vector in a for loop?
I'd like for my for loop to end at n-1 as I have other code in the body. I just want to add a line in the for loop to add the su...
3 months 前 | 1 个回答 | 0
1
个回答提问
Estimate area under a curve using finite approximations (lower sum with 4 rectangles of equal length)
Hi, I'm having trouble calculating area under a curve using lower sum with 4 rectangles, specifically the for loop. This is my c...
3 months 前 | 3 个回答 | 0
3
个回答提问
Plotting a vertical line using xline with a value
Hello, I'm trying to plot a vertical dashed line with a value (set as a variable) I have found with my code, but it won't plot. ...
3 months 前 | 1 个回答 | 0
1
个回答提问
How do I find second order implicit differentiation (d2y/dx2) of a function in MATLAB
Hello, I'm able to find 1st order (dy/dx) of a function, but if I try to do the process again on dy/dx it doesn't work to find d...
3 months 前 | 1 个回答 | 0
1
个回答提问
Legend & Labeling points in a plot
I'd like to have a legend that shows all tangent lines and curves of my graph, also label points if possible either in the legen...
3 months 前 | 1 个回答 | 0
1
个回答提问
Display data in a while loop as a table
Hello, I'm trying to approximate the root of a function using Newton's method and display the results as a table. I've found my ...
4 months 前 | 2 个回答 | 0
2
个回答提问
How to specify intervals of increasing, decreasing of a function in MATLAB
Hello, I want to specify intervals of increasing & decreasing of a function for a specific range; say -20-20. This is my code he...
4 months 前 | 2 个回答 | 0
2
个回答提问
Getting all max, min values of a function as a set of coordinate points
My code only returns 1 set of points for max, min. There are more points based on the graph I provide. This is my code: clear, ...
4 months 前 | 1 个回答 | 0
1
个回答提问
Not able to get local and absolute max or min of a function or graph symbolically
Hello, I'm trying to code a program that will calculate critical points and tell the user where local and absolute max or min va...
4 months 前 | 1 个回答 | 0
1
个回答提问
Using fprintf in a for loop to display the output as a set of coordinate points
Hi, I'm having trouble displaying the output of a math problem about critical points of a function as a set of coordinate points...
4 months 前 | 2 个回答 | 0
2
个回答提问
How to get real root of a function using fminbnd?
Hello, How can I force MATLAB to only give real solutions to a math function using fminbnd? This is my code: x=-1:0.01:8; y=@(...
4 months 前 | 2 个回答 | 0
2
个回答提问
Getting a shorter, more simple answer as output
How can I get a shorter answer, ideally an exact answer but decimal is also fine. This is my code: syms x y y=(log(x)/log(4))+...
5 months 前 | 2 个回答 | 0
2
个回答已回答
Adding Linestyle to ezplot in Matlab
Doing something like this would solve your dashed line problem: syms x f = inline('x.^2*exp(-x)', 'x'); d = inline('x.^3', ...
Adding Linestyle to ezplot in Matlab
Doing something like this would solve your dashed line problem: syms x f = inline('x.^2*exp(-x)', 'x'); d = inline('x.^3', ...
5 months 前 | 0