Community Profile

photo

MatG


Last seen: 22 days ago
18 total contributions since 2015

MatG's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


FFT for long waveform
I should take FFT of a very long vector of length 1,636,399,763 (i.e. length order is 10^9). However, on 128 GB RAM, my code thr...

29 days ago | 0 answers | 0

0

answers

Question


set color for scatter plot
How can I set the colors according to the Z value a scatter plot? Here p2dZ is either 0, 1 or 2. I want an scatter plot where h...

1 month ago | 1 answer | 0

1

answer

Question


logical indexing on a matrix
Is there a brief way without using much loops to take "all of certain columns" of a matrix and evaluate whether they're larger t...

2 months ago | 1 answer | 0

1

answer

Question


imagesc replacement so I can see individual values colorcoded
Is there a way to show the binary matrix b as points (say using scatter or a similar command) so I can see individual 1 and 0 v...

2 months ago | 2 answers | 0

2

answers

Question


plot corresponding rows of 2 matrices
Is there an easy way to use plot, or a similar plottign command, to plot rows of matrix X as x value vs rows of matrix Y as y va...

2 months ago | 1 answer | 0

1

answer

Question


extending a set of rows from matrix using calculated vector of start and end indexes
How can I calculate start and end indices "startAndEndIndex" and extract all rows of test matrix "testMatrix" between the the st...

2 months ago | 1 answer | 0

1

answer

Question


compare two (x,y) plots or vectors optimally
Question: What's a good and fast way to find out whether an (x,y) curve (gray in the figure) is above or below another (X,Y) cur...

2 months ago | 0 answers | 0

0

answers

Question


populate matrix columns based on a vector of index vector
I generate an 8x8 A matrix below. I also have an 8x1 vector B containing random integer numbers from 1 to 8. And, I have an 8x1 ...

5 months ago | 1 answer | 0

1

answer

Question


avoid memory issues by clear
To avoid using too much memory (or breaking due to memory), is it a feasible approach to use "clearvars -except keepVariables" i...

6 months ago | 1 answer | 0

1

answer

Question


finding peaks at distances for curve with certain samples
I have a curve (X-Y) which has its absolute maximum at X=0 and the curve extends (and declines in terms of Y value) to right/lef...

7 months ago | 0 answers | 0

0

answers

Question


create a similar but bigger polygon
If I have a polygon say the triangle A=(1,0), B= (2,1),C = (3,0)}formed from x=[1 2 3], y=[0 1 0] using respectively the first, ...

2 years ago | 2 answers | 0

2

answers

Question


spectrogram and sampling rate
I have a signal with the following characteristics. I’m using the following code snippet to get the "spectrogram" which does not...

2 years ago | 0 answers | 0

0

answers

Question


imagesc an integer 2d array using particular colors
I would like to draw a 2d array of integers whose values are only from the set {11,12,21,22,23,24,31,41,42,43,51,52,71,72,73,74,...

3 years ago | 1 answer | 0

1

answer

Question


overlapped bar charts up and down
I would like to plot a bar chart for data [2,3,4,5] and [-3,-2,-1,-4] on up and down as attached.

3 years ago | 1 answer | 0

1

answer

Question


importing clutter data (NCLD clutter) into MATLAB
I would like to import the clutter data from USGS (http://www.mrlc.gov/nlcd11_data.php) into MATLAB. The name of the link to dow...

5 years ago | 0 answers | 0

0

answers

Question


fseek and parallel reading (vector position)
fid = fopen('file','rb'); fseek(fid,startposition,'bof'); fread(fid,quantyToRead,'single'); This code will take me to...

5 years ago | 1 answer | 0

1

answer

Question


solving two equations (cone and sphere intersection)
I am trying to solve the intersection of a sphere centered at (-10,-10,-10) with radius 50 and a cone with apex (0,0,0) and base...

5 years ago | 0 answers | 0

0

answers

Question


plotting a nonlinear curve in matlab
I would like MATLAB to draw the plot for the curve described by the following equation, where for instance (a,b,d) = (-10,-10,-1...

5 years ago | 1 answer | 0

1

answer