Community Profile

photo

Craig Johnson


Last seen: 3 maanden ago Active since 2021

Professional Interests:

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


why loop missing or extra characters
w0=ones(4000,1) A=readmatrix('matrix.txt') count1=0 count2=0 while time1=tic [lam,i]=powereig(A,w0,1) fprintf...

3 maanden ago | 1 answer | 0

1

answer

Question


While loop has disagreeing matrix dimensions
Problematic code: inputMaterial=input('Enter Tuning Fork Material:') materialValidation=0; InputError=1; while inputMaterial...

6 maanden ago | 1 answer | 0

1

answer

Question


switch case not recognizing input
Code:user_input=input('Enter the mineral name: ') switch user_input case magnetite fprintf('Mineral:Magnetite \n ...

6 maanden ago | 1 answer | 0

1

answer

Question


Can't retrieve data from .mat file
Code: input=load('MetData.mat') output: input = struct with fields: T: [5×10 double] p: [5×10 double] How can ...

6 maanden ago | 1 answer | 0

1

answer

Question


Problem with output of fprintf command
function input(x) Fw=0; Fg=-12.9; Bw=100; Bg=197; F=Fw+x*(Fg-Fw); B=Bw+x*(Bg-Bw); XX=x*100; Line1_1='For an aqueous mixt...

6 maanden ago | 1 answer | 0

1

answer

Question


Illegal use of reserved keyword "else".
function q_P = ParticularSolution (K,M,f_0,t,w_R,roadflag) Q=[[-K,-w_R*M,w_R*M,-K] else roadflag==1 s_1==-f_0./K ...

ongeveer een jaar ago | 2 answers | 0

2

answers