Community Profile

photo

zafeirios krommidas


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How can i change the values of entire rows or columns using values of other rows or columns in a 3D matrix with for loops;
for example c(:,:,1)=[ 2 0 3 0 1 c(:,:,2)=[ 3 0 1 0 2 c(:,:,3)=[ 1 0 5 0 9 0 0 0 0 0 ...

nästan 5 år ago | 1 answer | 0

1

answer

Question


How can i seperate a string in all possible smaller ones without using for loops;.
For example if my string is a='ATGCA' , i want to make b={'AT', 'TG', 'GC', 'CA'}.( the length of the smaller strings is random...

ungefär 5 år ago | 2 answers | 0

2

answers