Difference between revisions of "User:PerniciousOctopus"

From PrattWiki
Jump to navigation Jump to search
 
 
Line 2: Line 2:
  
 
[http://www.wired.co.uk/news/archive/2015-08/17/artificial-leaf-photosynthesis-could-replace-fossil-fuels 'Artificial leaf' could power communities of the future], Katie Collins, Wired, August 31 (Grand Challenge)
 
[http://www.wired.co.uk/news/archive/2015-08/17/artificial-leaf-photosynthesis-could-replace-fossil-fuels 'Artificial leaf' could power communities of the future], Katie Collins, Wired, August 31 (Grand Challenge)
 +
 +
 +
Matlab Demonstration: Matrices and Arrays
 +
 +
Matlab has a really interesting approach to variables by making them all matrices by default. Array operations in Matlab are really intuitive once you get used to the language, and are especially good for people just getting into computer science. Strings for example, are, like in C, simply arrays of characters, but unlike in C, manipulating strings is very intuitive and easy, just like manipulating other variables. Also, because variables are all just generic arrays, variable types are much less strict in Matlab than in languages such as Java. For example, you can multiply true by A to get 65, then assign that to the third column of an array with two columns, and Matlab will let you do that.

Latest revision as of 07:37, 14 September 2015

Grand Challenge for Engineering: Revolution of Solar Power

'Artificial leaf' could power communities of the future, Katie Collins, Wired, August 31 (Grand Challenge)


Matlab Demonstration: Matrices and Arrays

Matlab has a really interesting approach to variables by making them all matrices by default. Array operations in Matlab are really intuitive once you get used to the language, and are especially good for people just getting into computer science. Strings for example, are, like in C, simply arrays of characters, but unlike in C, manipulating strings is very intuitive and easy, just like manipulating other variables. Also, because variables are all just generic arrays, variable types are much less strict in Matlab than in languages such as Java. For example, you can multiply true by A to get 65, then assign that to the third column of an array with two columns, and Matlab will let you do that.