Community Profile

photo

Cody Abt


Active since 2019

Statistics

Content Feed

View by

Question


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

alrededor de 2 años ago | 1 answer | 0

1

answer

Question


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

alrededor de 2 años ago | 1 answer | 0

1

answer

Question


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

alrededor de 2 años ago | 1 answer | 0

1

answer

Question


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

alrededor de 2 años ago | 1 answer | 0

1

answer