Ernest Adamtey
Followers: 0 Following: 0
Statistics
5 Questions
0 Answers
RANK
87,625
of 295,569
REPUTATION
0
CONTRIBUTIONS
5 Questions
0 Answers
ANSWER ACCEPTANCE
40.0%
VOTES RECEIVED
0
RANK
of 20,247
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,105
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Preallocating str for speed
I have this code. I want it to run faster. And I keep getting the warning to preallocate str for speed. clc str=[]; for T='...
3 years ago | 3 answers | 0
3
answersQuestion
Nested if statements under for loop
I have this nested if statements under a for loop. I want the for loop to calculate 3.1*5^2. And if the answer is 77.5, it shoul...
3 years ago | 1 answer | 0
1
answerQuestion
For this loop I want the output to print str='b' anytime A='1'
For this loop I want the output to print str='b' anytime A='1' clc clear for q=20:21 str=[]; A=dec2base(q,19) if A...
3 years ago | 1 answer | 0
1
answerQuestion
How to convert the digits of a number in a higher number base to an array
I converted 32 to base 18 using the code A=dec2base(32,18) and the output was '1B' I want to convert the digits of 1B to an ...
3 years ago | 0 answers | 0
0
answersQuestion
How to calculate a printed arithmetic
for A=1:3 if A==1 fprintf('2') elseif A==2 fprintf('+') elseif A==3 fprintf('3') ...
3 years ago | 1 answer | 0