Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.8K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

[?] Get proper format of a matrix , avoid matrix values with "Null" added?

Posted 7 years ago
POSTED BY: Chiel Geeraert
Posted 7 years ago

I found it : forgot a semicolon in the code

While[i <= 5,

      sample = Table[RandomInteger[{1, 800}], {k, 1, sampleSize}];
      Estimate[[j, i]] = 
  N[(sampleSize + 1)/sampleSize Max[sample] - 1, 3];
      TracePrint[Estimate[[j, i]]];
      i++
      ];

j++ ] <--------------------------------------------- There ! Forgot it and you get {234' Null} With semicolon neatly {234} Estimate ]

POSTED BY: Chiel Geeraert
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard