photo

Craig Johnson


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

MATLAB Answers

8 Questions
0 Answers

RANK
251,276
of 300,763

REPUTATION
0

CONTRIBUTIONS
8 Questions
0 Answers

ANSWER ACCEPTANCE
62.5%

VOTES RECEIVED
0

RANK
 of 21,082

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,923

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 3

View badges

Feeds

View by

Question


Index exceeds the number of array elements (4).
function [therm,chem,r_c,mfuel,mC02,ddt] = FourStrokeCycle(D,d,rpm,fuel,N) AirMatrix= readmatrix('AirProperties.xlsx'); pa=101...

2 years ago | 1 answer | 0

1

answer

Question


variable is not recognized from other function
Unrecognized function or variable 'Mi'. Error in FourStrokeCycle (line 40) Mbar=Mi*nin(1)/nin function [pa,Ta,sa,cpi,Mi,n...

2 years ago | 1 answer | 0

1

answer

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

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

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

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

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

4 years ago | 2 answers | 0

2

answers