Community Profile

photo

Cody Abt


Con actividad desde 2019

Followers: 0   Following: 0

Estadísticas

Feeds

Ver por

Pregunta


Prompt the user to enter a vector of coefficients for the polynomial model. Verify that the entry has an even number of elements (an odd number of elements would mean an even order polynomial). If an invalid vector is entered, prompt the user to re-e
My code. I know how to prompt the user but I dont understand how to verify thier entry has even elements. I struggle on coding ...

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

1

respuesta

Pregunta


Error: Function definition not supported in this context. Create functions in code file.
My function with code prompt being user input. function [v]=Deflection_Caabt(x) if (0 < prompt) && (prompt <= 120) (1/(3.1...

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

1

respuesta

Pregunta


I'm using old matrix in given data and adding user data to add onto old matrix. Example Days(16x1), Location(16x5), LocationID(1x5) and when user inputs a day its supposed to add onto Days, Same with new location and LocationID.
My Code at the moment D2=input('You continue to do research 5 days after the 60th day. Enter the day') NL=input('Enter the new...

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

1

respuesta

Pregunta


How Do I add user input to a matrix already defined in my work space?
How do I add user input to a matrix already defined in my work space? Matrix in work space is a 16x1 and Im trying to be able t...

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

1

respuesta