Community Profile

photo

Trisha Katz


Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

Feeds

Anzeigen nach

Frage


Why is my function generating a vector? Please help?
I am trying to create a function that does the following: "The function lastname_lab4_tracker generates the increment to be ad...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I am trying to create a game where a user guesses a number between 1 and 100 using a while loop. But I am getting stuck in an infinite loop. Please help?
Here is what I have: y=randi(1,100) prompt= 'guess a value between 1 and 100' x=input(prompt) while x<y disp('gues...

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Trying to find the maximum value in a matrix using for loops? Can someone correct my code?
Here is the question: Find the largest element of the matrix A = [1,2,3; 4,5,6] using for loops. Here is what I have: A=[1,2...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Creating a new matrix from an existing one using logical operators?
Write a script which defines a 100x100 matrix, X, of random integers between 5 and 50. From the matrix X, create a matrix, Y, i...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Writing a script that mirrors the abs function? I'm doing something wrong but not sure what
Here is the question: The abs function finds the absolute value of a number or numbers in a matrix. Using only relational o...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I insert a smaller ones matrix into a larger zeros matrix?

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten