MATLAB is a high-level language and interactive programming environment for numerical computation and visualization developed by MathWorks.

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

Interactive Grid

I am trying to create a grid in MATLAB. The number of rows and columns for the grid are to be entered by the user during run-time. When the user clicks on a particular block/square of the grid, 1) ...
0
votes
0answers
5 views

Matlab colormap for counties by specific data in an array

I am developing a risk analysis model for hurricanes along the gulf coast. I created a map and want the counties to be colored based on the risk from the array. How do I do this? Thank you so much.
0
votes
0answers
5 views

Is there a way to subtract from spectrogram (stored as a figure) from another in MATLAB?

I have 2 figures (spectrograms) in MATLAB and I would like to subtract them from one another in order to test their similarity. Is there a way to do this?
0
votes
0answers
5 views

How do I develop a rectangular sliding window around a pixel in matlab?

I am new to matlab and I would really appreciate any help! I want to implement a rectangular sliding window around a pixel and perform some operations on it. Can someone help me do the rectangular ...
0
votes
4answers
22 views

Fermat little theorem fails in MATLAB?

I'm currently trying to write a program in MATLAB which checks if a number n is prime or not. For starters I'm implementing the Fermat Primality Test. Fermat stated for a prime p and 1 <= b < ...
0
votes
1answer
11 views

Matlab: Covariances for 1 pixel horizontal and vertical displacement of image

I have a gray scale image stored in a matrix Mat and am asked to extract the covariances for 1 pixel horizontal and vertical displacement. I thought of using circshift and cov to extract the ...
0
votes
1answer
13 views

What program for ultrasonography alalyzing [on hold]

I've read interesting article about using ultrasonography and analyzing images in diagnosing Hashimoto's disease. I am preparing to similar research like in article below. ...
1
vote
0answers
14 views

Kalman filter in computer vision: the choice of Q and R noise covariances

I read some works about Kalman filter for CV object tracking but I can't find some reference about the choice of: 1)the process noise covariance Q; 2)Measurement noise covariance R. So far I have ...
0
votes
2answers
19 views

how to record audio in matlab online?

i want to record voice from mic in MATLAB. but i don't want to decide when to stop the recording upfront, so i look for a way to stop while recording. i've tried the follow code: clc clear close all ...
0
votes
0answers
9 views

Log returns for portvrisk arguments

just a point of clarification on the inputs to MATLAB's portvrisk. I have the mean and standard deviation of the log returns of my portfolio. Are these suitable for the inputs? It is ambiguous in the ...
0
votes
1answer
15 views

Creating New Field that is Subtraction fo two other fields

I have a matlab data structure that is 1 x 500 for a whole plethora of measures, stored as fields. Each subject has values reported in each field. I need to create a new field that is the subtraction ...
2
votes
1answer
32 views

Principal Components calculated using different functions in Matlab

I am trying to understand principal component analysis in Matlab, There seems to be at least 3 different functions that do it. I have some questions re the code below: Am I creating approximate x ...
0
votes
1answer
16 views

Selecting and printing specific lines from a non rectangular text file (In MATLAB)

Hopefully somebody can help me as I am about to finish a program but I am having trouble with the format that my text file has. My text file is quite large. I paste here the first 9 lines (Note that ...
0
votes
0answers
18 views

Read images from a csv file with Octave

I want to read the training.csv file with Octave for the Kaggle competition. The file contains 16 fields. First 15 are the coordinates of keypoints. The 16th is is the image, which is 9216 numbers (0 ...
0
votes
1answer
27 views

How can I find the best matching sound file(s) to a sample sound file?

I'm working on a very simplistic speech recognition project. I currently have 2 sets of wav files. Each set has 1-second long recordings of a set of words spoken by the same person at 2 different ...

15 30 50 per page