Community Profile

photo

Par


Ottawa Hospital Research Institute

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Shuffling elements within the rows of a matrix
Say I have a matrix, I would like to shuffle the elements within the rows randomly. For example, A = randi(1000, 3,4) A =...

8 years ago | 4 answers | 0

4

answers

Question


Using 'patch' smudges fonts
Hello All, I know it becomes a bit tricky in general (gathering from previous related posts) when one uses the 'patch' comman...

10 years ago | 0 answers | 0

0

answers

Answered
histc with split intervals
Well, I tried both your suggestions, and a few other ways using the bsxfun function, but because of the large sizes I am dealing...

10 years ago | 0

| accepted

Question


histc with split intervals
Hello All, I am stuck with this problem for the past few days! So, any help would be greatly appreciated. THE PROBLEM: ...

10 years ago | 3 answers | 1

3

answers

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

12 years ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

12 years ago

Question


How to skip randomly occurring header lines using textscan
Hello, I wish to use textscan to read a large text file have two tab separated numbers in each line. The problem is, once in ...

12 years ago | 1 answer | 0

1

answer

Answered
Compactly display a matrix
Thanks Matt. I also found a function "displaytable" in the Matlab file exchange, which does a pretty good job. I am currently u...

13 years ago | 0

Question


Compactly display a matrix
If we wish to display a matrix using the command 'disp' in a compact manner, I know we can use "format compact" to minimize vert...

13 years ago | 2 answers | 0

2

answers