photo

Par


Ottawa Hospital Research Institute

Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

All
  • Thankful Level 1
  • Solver

Afficher les badges

Feeds

Afficher par

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

environ 9 ans il y a | 4 réponses | 0

4

réponses

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

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

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

presque 11 ans il y a | 3 réponses | 1

3

réponses

A résolu


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

presque 13 ans il y a

A résolu


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

presque 13 ans il y a

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

presque 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

plus de 13 ans il y a | 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...

plus de 13 ans il y a | 2 réponses | 0

2

réponses