photo

Brandon Tsang


Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Statistics

MATLAB Answers

5 Questions
0 Answers

RANK
114,305
of 300,753

REPUTATION
0

CONTRIBUTIONS
5 Questions
0 Answers

ANSWER ACCEPTANCE
60.0%

VOTES RECEIVED
0

RANK
 of 21,075

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,858

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 2

View badges

Feeds

View by

Question


How to output the longest character string from two specified characters using nested for loop?
% ptn is the string we are working with to find M and * ptn = 'TFASDTTVFTSNLKQTPWCI*LLRRSLPLLPCGAR*TWMKLVVRPWAGWYQGYKTGLRRPIETG...

3 years ago | 1 answer | 0

1

answer

Question


How do I take my generated string outputs from for loop and return a list?
seq = 'ACAUUUGCUUCUGACACAACUGUGUUCACUAGCAACCUCAAACAGACA' for i=1:3:numel(seq)-2 a = (seq(i:i+2)) end a = 'ACA' a = 'UU...

3 years ago | 2 answers | 0

2

answers

Question


How do I prevent duplicate indexes in an array from subtracting to each other when it satisfies the condition the 1st time?
matA = [21 36 172 246 259 274 303 311 316 322 340 375 377 378 382 396 483 508] matB = [39 116 198 203 309 314 364 421] A = 1:1...

3 years ago | 1 answer | 0

1

answer

Question


Having vector sorted by using While Loops + Diff()
Hi. My function has to sort a numerical vector by using only while loops, diff(),any(), or all() Must Use a While Loop No Fo...

5 years ago | 1 answer | 0

1

answer

Question


Finding Largest Factor Using While Loop
Objective: Find largest factor of any input For example: >> out = largestfactor(15) out = 5 I am using a while loop and if...

5 years ago | 1 answer | 0

1

answer