photo

Terek Li


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Question


How to find the length of segments of a matrix that meet certain condition?
Hi guys, I am trying hard to think of an algorithm for this, but no luck. If I have a matrix a = [77 77 77 79 79 79 77 77 77 ...

7 years ago | 1 answer | 0

1

answer

Question


textscan 4th row into one string
Hi, I have a huge file that I want to read only the 4th row with delimiter ';'. I want to read everything in this row into on...

8 years ago | 1 answer | 0

1

answer

Question


Convert vector to single double number
I have a vector [ 0 0 1 0 1 0 1] is there a quick way to convert it to a single number: 10101 ?

8 years ago | 2 answers | 0

2

answers

Answered
Why does an if block only run once?
'if' statement is not a loop, if you want to look it then use 'while'

8 years ago | 0

Question


concatenate all value in a matrix into one number
if I have a matrix [1 2 3 4], is there a quick and easy way to obtain 1234 ?

8 years ago | 2 answers | 0

2

answers

Question


how to find index of a cell that contains a numeric value?
Hi, there are several posts regarding this question, but none of their solutions actually work... I have a 1000*1 cell contai...

8 years ago | 1 answer | 0

1

answer

Question


How to emtpy part of a matrix?
If I have a matrix like this : a = [1 2; 3 4; 5 6; 7 8] is there a quick way to remove '3' and '4' from the matr...

8 years ago | 1 answer | 0

1

answer

Question


how to remove a specific section of a cell
For example if I have a 5:2 cell, each cell is filled with value. Is there a way to empty all the value in the 1st column excep...

8 years ago | 1 answer | 0

1

answer

Question


How to find which column consists character 'example' in cell c{1,2}(:,1)
so I have a cell called 'c', I want to know which column the characters 'example' exist in c{1,2}(:,1).... Is there a function ...

8 years ago | 2 answers | 0

2

answers

Question


how to run block of a function only if block of another function has been ran
What is the most efficient way to code so that one block of function A is ran only when another block of function B has been ran...

8 years ago | 1 answer | 0

1

answer

Question


How to process multiple txt files in a loop?
I have multiple txt files in a folder, and I wrote a code to process a single file: function output = do(input) fil...

8 years ago | 2 answers | 0

2

answers