Kyle Donk
Followers: 0 Following: 0
Feeds
質問
How to use fimplicit with a symbolic function
I have a symbolic function r and am trying to plot it using fimplicit but I keep on getting an error in Matlab. I have tried swi...
5年弱 前 | 1 件の回答 | 0
1
回答質問
Assigning values to variables "Method" and "Value"
Hi all. I am working on a problem where I have three saved functions: Mid, Trap, and Simp. These functions are used to approxima...
5年弱 前 | 1 件の回答 | 0
1
回答質問
Using multiple integration methods in one script
Hi, I have to calculate an integral using the midpoint, trapezoid, and simpson's methods. I already have the functions stored in...
5年弱 前 | 1 件の回答 | 0
1
回答質問
Why is my fplot not working?
My fplot is not working in my code. A few minutes ago, the code was plotting the graph just fine, but now it isn't. I can't figu...
5年弱 前 | 0 件の回答 | 0
0
回答質問
Why isn't my first line being plotted?
On this quiz, I have to graph two lines and only f1 is showing up on my graph. The first graph is supposed to have 100 points be...
5年弱 前 | 1 件の回答 | 0
1
回答質問
Problems with averages and storing values
For a school project, I have to estimate the average number of swaps required to sort a random list of numbers. I have to do thi...
5年弱 前 | 3 件の回答 | 1
3
回答質問
How to get answers to appear as an array?
I have a word that I switched to ASCII code. I then used a loop to make the resulting numbers change to the numbers that I want....
5年弱 前 | 1 件の回答 | 0
1
回答回答済み
How do I get my X array to cycle through the code?
%Part 2: Estimating the average number of swaps required to sort %a random list of numbers count=0; for X=[100:100:1000] num...
How do I get my X array to cycle through the code?
%Part 2: Estimating the average number of swaps required to sort %a random list of numbers count=0; for X=[100:100:1000] num...
5年弱 前 | 0
| 採用済み
質問
How to change ASCII values?
I have an assignment where I have to take a phrase, capitalize it, and use the 'double' command to change all of the letters to ...
5年弱 前 | 2 件の回答 | 0
2
回答質問
How do I get my X array to cycle through the code?
I have an array X=[100 200 300 400 500 600 700 800 900 1000]. But throughout my code the X value only equals 1000. I need to hav...
5年弱 前 | 1 件の回答 | 0
1
回答質問
How to prevent addition from showing up in command window
I ran some code and am having trouble with the results of the code come out like this: 995 996 997 998 999 1000 How do I ...
5年弱 前 | 2 件の回答 | 0
2
回答質問
Calling a function from a script
I'm trying to call a function from a script, but everything that I have seen and read on how to do so has not been helpful. Woul...
5年弱 前 | 1 件の回答 | 0
1
回答質問
Why is N not being displayed?
My problem: I am trying to find the smallest value of N for which error is less than 10^-4. I am just wondering why N is not bei...
5年弱 前 | 2 件の回答 | 0
2
回答質問
Problems with min and max functions
I am currently doing a project where I have to make x and y equal to 100 random numbers, and then find the max and min of both x...
5年弱 前 | 1 件の回答 | 0
1
回答質問
How to "call" a function
For my matlab class, we have to "call" a function. However, the video that was shown to us only shows how to call functions with...
5年弱 前 | 1 件の回答 | 0
1
回答質問
For loop not calculating properly
My instructions are to calculate the result and absolute error for each partial sum: N = 10, 160, and 640. I am supposed to be g...
5年弱 前 | 1 件の回答 | 0
1
回答質問
Problem with if statement
I am trying to create code that says that if any number in an array of 100 numbers (y) is less than two, then count increases by...
5年弱 前 | 1 件の回答 | 0
1
回答質問
Finding a number in an array less than 2
I'm trying to find a count of all the numbers in an array that are less than 2. I set up my code like this: (y was already def...
5年弱 前 | 2 件の回答 | 0
2
回答質問
How to tell if a random 3x3 Matrix is invertible
I have to produce a random 3x3 matrix A that is invertible and display it. I have a couple questions: How do I know when a matr...
5年弱 前 | 1 件の回答 | 0
1
回答質問
Calculating results for Partial Sums
My question is: Calculate the result and absolute error for each partial sum: N = 10, 160, and 640. You should use for-loops an...
5年弱 前 | 1 件の回答 | 0
1
回答質問
How to get a script to only give me the number of elements less than 2?
I have a script in which y equals 100 various numbers. I was able to sort the numbers in order from least to greatest, but I nee...
5年弱 前 | 2 件の回答 | 0
2
回答質問
How to use fprintf properly?
Here is the question: Write a script that does the following. Use fprintf and do not show scientific notaiton. NOTE: You will...
5年弱 前 | 2 件の回答 | 0
2
回答質問
How do I add words onto strings? (Original string is blank but words are added if certain numbers from 1-20 are divisible by 2, 3, 5, or neither. At the end, each number is supposed to have a name)
Original string is blank but words are added if certain numbers from 1-20 are divisible by 2, 3, 5, or neither. At the end, each...
5年弱 前 | 1 件の回答 | 0