User:PerniciousOctopus

From PrattWiki
Jump to navigation Jump to search

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.