photo

Brandon Tsang


Last seen: 8개월 전 2020년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 2

배지 보기

Feeds

보기 기준

질문


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

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

1년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

4년 초과 전 | 답변 수: 1 | 0

1

답변