Community Profile

photo

Kyle Donk


Last seen: 16 days ago
23 total contributions since 2020

Kyle Donk's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


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...

16 days ago | 1 answer | 0

1

answer

Question


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...

23 days ago | 1 answer | 0

1

answer

Question


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...

25 days ago | 1 answer | 0

1

answer

Question


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...

25 days ago | 0 answers | 0

0

answers

Question


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...

26 days ago | 1 answer | 0

1

answer

Question


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...

1 month ago | 3 answers | 1

3

answers

Question


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....

1 month ago | 1 answer | 0

1

answer

Answered
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...

1 month ago | 0

| accepted

Question


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 ...

1 month ago | 2 answers | 0

2

answers

Question


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...

1 month ago | 1 answer | 0

1

answer

Question


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 ...

1 month ago | 2 answers | 0

2

answers

Question


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...

1 month ago | 1 answer | 0

1

answer

Question


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...

1 month ago | 2 answers | 0

2

answers

Question


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...

1 month ago | 1 answer | 0

1

answer

Question


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...

1 month ago | 1 answer | 0

1

answer

Question


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...

1 month ago | 1 answer | 0

1

answer

Question


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...

1 month ago | 1 answer | 0

1

answer

Question


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...

1 month ago | 2 answers | 0

2

answers

Question


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...

2 months ago | 1 answer | 0

1

answer

Question


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...

2 months ago | 1 answer | 0

1

answer

Question


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...

2 months ago | 2 answers | 0

2

answers

Question


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...

2 months ago | 2 answers | 0

2

answers

Question


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...

2 months ago | 1 answer | 0

1

answer