Community Profile

photo

Trisha Katz


Con actividad desde 2019

Followers: 0   Following: 0

Estadísticas

Feeds

Ver por

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas