Top 5% contributor
I got this message when I had a problem with the network connection.
2 years ago
When using the function plot with hold set to 'all', each call to plot uses the successive entry in the ColorOrder property of t...
Asked 3 years ago
1-D logical indexing in a 2-D matrix works as expected: AA=magic(3) AA(logical([0 1 0]),2)=-2 However, when 2-D logical indexin...
3 years ago
I'm trying to understand what the difference is between pcolor and contourf. If I have a 2D data, stored in variable Z, that I w...
Asked 7 months ago
I would like to speed up the execution of my program. It's abbreviated as follows:
Definition of myScript.m is as foll...
Asked 1 year ago
MATLAB provides built-in functions to generate random numbers with an uniform or Gaussian (normal) distribution. My question is:...
Asked 2 years ago
I'm using pcolorm (of the Mapping Toolbox) with the miller projection to create a global map:
I'm trying to plot a couple variables on the same 2-D graph, and 3 separate scales are needed (there are 3 types of varia...
I have a 2-D data (ocean depth) on a latitude-longitude grid. (That is, the ocean depth is specified at each latitude and longit...
Asked 2 months ago
I read the documentation on batch and diary functions, but I could not find the answer. I have a function, longjob(n),...
Asked 3 months ago
I wrote a function named auto2process(param).
I have several MATLAB sessions open on the same machine, and I need to call auto2...
I'm trying to evaluate a 1-D integral (single integral, not double integral). The integrand happens to be a function that...
I would like to clarify the functionality of bitget(). In the documentation, it is noted that "The output of bitget is in...
The bar command always draw bars starting from 0. If the value to plot is positive, the bar extends upwards from 0, and i...
I'm trying to read a data file of integers. The file is formatted as follows:
-777 0 0...
The algorithm (x) is length(size(x)) appears to be flawed.
2 years ago
Join the conversation