Community Profile

photo

David C


Michigan

Aktiv seit 2011

Followers: 0   Following: 0

Kontakt

Statistiken

  • First Review
  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


ecef2ned vs. ecef2nedv
What is the difference between ecef2ned ( <http://www.mathworks.com/help/map/ref/ecef2ned.html> ) and ecef2nedv ( <http://www.ma...

fast 8 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Vector subtraction from matrix
Let A be a 3 by 5 matrix: A=rand(3,5); v=1:5; How can I add v to each row of A without using a for loop, to impro...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Understanding the Color Matrix Input in surf()
I'm trying to understand this code snippet: [x,y] = meshgrid([-2:.2:2]); Z = x.*exp(-x.^2-y.^2); surf(x,y,Z,gradient(...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Output of struct.fieldname
"patient" is a 1x3 struct with "billing" being a fieldname. When I issue patient.billing, I get this: >> patient.billing ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Keyboard shortcut for selecting tools in the Figure window
Is it possible to assign a keyboard shortcut to select the "Pan" tool in the Figure window? <</matlabcentral/answers/uploaded...

mehr als 8 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


textscan trouble: starting file position on re-read
I'm trying to read a data file of integers. The file is formatted as follows: -112-999-999-999-555 -999-999 -777 0 0...

fast 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Memory Allocation in MATLAB
Two questions on the topic of memory: 1. Do the zeros() and ones() functions allocate memory dynamically? That is, are they s...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


angle output vs. atan2 output
Is atan2(Y,X) exactly the same as angle(X+1i*Y)?

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Interpolation of Data on Different Grids
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...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Batch Processing of a Function with Different Arguments
Hello, I read the documentation on batch and diary functions, but I could not find the answer. I have a function, longjob(n),...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Difference between pcolor and contourf
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...

fast 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Methods in Making a Simple Program More Efficient
Hi, I would like to speed up the execution of my program. It's abbreviated as follows: Definition of myScript.m is as foll...

fast 11 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Generate random numbers given distribution/histogram
MATLAB provides built-in functions to generate random numbers with an uniform or Gaussian (normal) distribution. My question is:...

mehr als 11 Jahre vor | 3 Antworten | 2

3

Antworten

Frage


Multiple Calls to Functions in Separate MATLAB Sessions
I wrote a function named auto2process(param). I have several MATLAB sessions open on the same machine, and I need to call auto2...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


secd vs sec
x=-89.5:0.001:89.5; y=1./secd(x); trapz(x,y) Gives 114 AND x=-pi/2:0.001:pi/2; y=1./sec(x); trapz(x,y) Gives 2 Wh...

fast 12 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Filling Plot Area, Adding Ticks in Mapping with Projections
Hi, I'm using pcolorm (of the Mapping Toolbox) with the miller projection to create a global map: figure(2) axesm mil...

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using quad or quad2d to evalute a 1-D integral of 2-D function
Hi, I'm trying to evaluate a 1-D integral (single integral, not double integral). The integrand happens to be a function that...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


plotyyy
Hi, 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...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


bitget() and MSB/LSB
Hi, I would like to clarify the functionality of bitget(). In the documentation, it is noted that "The output of bitget is in...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Bar graph start value
Hi, The bar command always draw bars starting from 0. If the value to plot is positive, the bar extends upwards from 0, and i...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Get next plot color
When using the function plot with hold set to 'all', each call to plot uses the successive entry in the ColorOrder property of t...

fast 13 Jahre vor | 6 Antworten | 1

6

Antworten