Community Profile

# Kyle Donk

Last seen: fast 3 Jahre vor Aktiv seit 2020

#### Statistics

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Frage

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

fast 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

fast 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

fast 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

fast 3 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

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

fast 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 3 Antworten | 1

### 3

Antworten

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

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

etwa 3 Jahre vor | 0

| akzeptiert

Frage

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

etwa 3 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 3 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

etwa 3 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

etwa 3 Jahre vor | 1 Antwort | 0

Antwort