![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7552902_1522122033777_DEF.jpg)
Maryam Ansari
自 2016 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
Trying to use quad to solve this integral but keep getting error
y = @(x)((1.941-24.3*x).^2)/(2.92*(0.02408-x)*(0.01605-x)); %Using quad to calculate integral time = quad(y,0,0.0120...
8 years 前 | 1 个回答 | 0
1
个回答提问
How can I replace my values in an iteration?
This is a code I am using to run the modified secant open method. However, I don't understand why my values are not replacing th...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to evaluate a user input function at a given point?
I'm unsure how to evaluate a given function at a given point X. Hypothetically, the user can input any function using any letter...
8 years 前 | 1 个回答 | 0
1
个回答提问
Sub function not replacing syms variable x with input number
My code isn't finished yet, but this is what I have function findTaylorSeries = TaylorCos0(valueForX,termNum) %%...
8 years 前 | 1 个回答 | 0
1
个回答提问
My loop has an infinite recursion, and I'm not sure how to fix it?
I'm trying to implement the Babylonian method through a while loop. When I call my function in another script file, it says I ha...
8 years 前 | 1 个回答 | 0
1
个回答提问
I'm trying to end the program once my variable reaches a certain value. I used a conditional, but my program won't stop?
This is a part of my code. I put my if statement outside the while loop. I don't understand how I can get it to stop once "popul...
8 years 前 | 1 个回答 | 0
1
个回答提问
I keep getting index exceeds matrix dimensions but I don't understand why. I'm trying to sum the elements in an array.
Below is a simple code. I'm creating an array m which contains all odd numbers between 1 and 52015. I'm trying to sum all the el...
8 years 前 | 1 个回答 | 0