Tag » Matlab

Delete rows with NaN records

X = rand(10, 10);
X(X < 0.1) = NaN;
X(any(isnan(X), 2), :) = [];

Or if you mean exactly one NaN in a row: 12 kata lagi

Error: Matlab plotting

There are 2 ways to view your plots in Matlab,

  1. As separate figures, for which we will use the figure(number) command
  2. Viewing plots next to each other, for which we will use subplots command.                     
  3. 36 kata lagi

Representing semantic knowledge using Restricted Boltzmann Machines

Languages: MATLAB, R
Code: https://github.com/A-V-M/past_projects/tree/master/gensem
Summary: A large part of my research as a graduate student in cognitive/computational neuroscience involved thinking a lot about how the human brain represents the rich semantic information which characterises objects in our day-to-day lives. 9.225 kata lagi

Reading HDF5 in MATLAB

In Reading a mat file into Python, I learned how to read a mat file for Python programs. What about the reverse? In MATLAB, the relevant functions are… 64 kata lagi


Reading a mat file into Python

According to a StackOverflow post, one can use scipy to read a matlab file, but it does not support the latest format Version 7.3 and later… 141 kata lagi


MATLAB App Designing: The ultimate Guide for MATLAB Apps


The First segment of the course is on creating apps in MATLAB using its graphical user interface utility called GUIDE. The GUIDE provides essential graphical components for converting your code into a meaningful software. 1.002 kata lagi