Réponse apportée
Alternating up and down in my script to find path through 'maze'
Try this algorithm: Goal:to assign a label to each connected track of 1's on a background of 0's. Procedure: Scan image left t...

environ 6 ans il y a | 0

| A accepté

A soumis


Asteroid, Baseball, etc. (obj mesh) Projected Surface Area
Calculate the projected area into wind axes for an obj (wavefront) that is a convex hull.

environ 6 ans il y a | 3 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
How to filter data by date?
My suggestion is to convert all your times to an new variable of time in matlab's datenum format. A datenum is the number of da...

environ 6 ans il y a | 0

Réponse apportée
Plotting a smooth curve
First, I added a header to the xlsx file so readtable can be used properly. myData = readtable('Data_help.xlsx'); figure() pl...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
Errors with my code
You redefined y to zero it out and at a different dimension than t. Also some typos in the annotation. T1=[0:0.001:2]; Y1=(-1...

environ 6 ans il y a | 0

Réponse apportée
Fourrier transform on image
Here's an example - the grid of features is space every 20 meters, the frequency found at 0.05/m corresponds to the frequency of...

environ 6 ans il y a | 0

Réponse apportée
Axes after 2D fft
Some great online references are in the matlab code. Whenever I post links at the top of an answer, the answer gets flagged as ...

environ 6 ans il y a | 2

Réponse apportée
flip an array with the use of vectors
a=[1 7 5 9 3 2 4 1]; a(3:6) = fliplr(a(3:6));

environ 6 ans il y a | 0

Réponse apportée
readmatrix with numbers and text from .csv file
The problem is your last line has 5 columns. This seems to do what you're asking, and hopefully will be enough to get you start...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How do I get only the HR out of this .csv
If you post the file, or at least the first 20 lines or so, it would be easier to say which command is best to use. Generally, ...

environ 6 ans il y a | 0

A résolu


pressure to dB?
given x ratio of pressure, find corresponding y dB

environ 6 ans il y a

A résolu


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

environ 6 ans il y a

A résolu


Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

environ 6 ans il y a

A résolu


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

environ 6 ans il y a

A résolu


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

environ 6 ans il y a

A résolu


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

environ 6 ans il y a

A résolu


Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

environ 6 ans il y a

A résolu


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

environ 6 ans il y a

A résolu


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

environ 6 ans il y a

A résolu


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

environ 6 ans il y a

A résolu


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

environ 6 ans il y a

A résolu


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

environ 6 ans il y a

A résolu


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

environ 6 ans il y a

Réponse apportée
How to access folders within a loop
Try this (in absence of the Airport.xlsx files I can't completely test it here) - edit the obsdir back to your folder name where...

environ 6 ans il y a | 0

Réponse apportée
I have a problem with plotting a summation equation, Help me!
Hi. Editing - I had a (3-i) instead of (3+i) in the denominator - it's fixed now: k = 6; f = @(x)sum(sqrt((2*k-3)./((3 + [0:...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
How can i put this below lines of code in a for loop?
Here's how to do it for png, because that is all I have. Change extension to tif. % Edit this to be your toplevel directory m...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
How can I store data from an if loop into a 1D vector
This function returns the indices where the peaks for ECG values in time-segments defined by a user-specified threshold functi...

environ 6 ans il y a | 0

Réponse apportée
Using Read Table with a predefined Table size
Processing difficult text files - here the text file is space delimited with one or more spaces, but has a variable number of co...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Hi, check this question
Two Charges % Two 1 nC point positive charges are located at (-1, 0, 0) m and (1, 0, 0) m respectively. % Write a MATLAB scri...

environ 6 ans il y a | 1

Réponse apportée
How can I display multiple Images and plot the centroid ?
I played with the first part to make some more plot options (I had to do the poor man's distances because I can't afford the sta...

environ 6 ans il y a | 0

Charger plus