Answered

RKF method for second order ODE

https://ntrs.nasa.gov/citations/19690021375 Low-order classical Runge-Kutta formulas with stepsize control and their applicatio...

RKF method for second order ODE

https://ntrs.nasa.gov/citations/19690021375 Low-order classical Runge-Kutta formulas with stepsize control and their applicatio...

18 days ago | 0

Answered

RKF method for second order ODE

https://ntrs.nasa.gov/citations/19680027281 Classical Fifth-, Sixth-, Seventh-, and Eighth-Order Runge-Kutta Formulas with Step...

RKF method for second order ODE

https://ntrs.nasa.gov/citations/19680027281 Classical Fifth-, Sixth-, Seventh-, and Eighth-Order Runge-Kutta Formulas with Step...

18 days ago | 0

Submitted

Restful Fortune Cookie

Gets a fortune cookie statement every 10 seconds and updates your cookie paper.

5 months ago | 1 download |

Submitted

Image Texture for Region Classification

Graylevel images can be segmented, characterized by their local texture.

6 months ago | 9 downloads |

Submitted

NASA Earthshots Image Getter

Demonstrates how to download NASA Earthshots data with RESTful get.

6 months ago | 3 downloads |

Submitted

Excel Macro Example: Sun Rise, Set, Transit, Twilight

to demonstrate writing inputs and reading outputs from an xlsm spreadsheet

10 months ago | 4 downloads |

Answered

Plotting stacked graphs with diff x-axis together without any gap

I have an example here: https://www.mathworks.com/matlabcentral/fileexchange/70172-space-weather-data-solar-flux-10-7-cm

Plotting stacked graphs with diff x-axis together without any gap

I have an example here: https://www.mathworks.com/matlabcentral/fileexchange/70172-space-weather-data-solar-flux-10-7-cm

11 months ago | 0

| accepted

Answered

How to convert euler angle(roll pitch yaw) to position(x,y,z)

Position is a separate measurement from roll, pitch, yaw. Position is the location of the entity, such as an aircraft. Typical...

How to convert euler angle(roll pitch yaw) to position(x,y,z)

Position is a separate measurement from roll, pitch, yaw. Position is the location of the entity, such as an aircraft. Typical...

11 months ago | 0

Answered

How to write a function for a certain number of random numbers

If the numbers are supposed to be uniformly distributed, then they are between 0 and 1. So just linearly scale the value 0 to th...

How to write a function for a certain number of random numbers

If the numbers are supposed to be uniformly distributed, then they are between 0 and 1. So just linearly scale the value 0 to th...

11 months ago | 0

Answered

Hurst exponent in matlab

Here's one way, but you'll have to change it to have pixels as length dimensions: %% *fractalDimension* %% *definition* funct...

Hurst exponent in matlab

Here's one way, but you'll have to change it to have pixels as length dimensions: %% *fractalDimension* %% *definition* funct...

11 months ago | 1

| accepted

Answered

Initializing multidimensional array and dynamic expansion

If you know the size you want: A = zeros(nrow,ncol); or A = zeros(nrow, ncol1, ncol2,ncol3); etc. Can also initialize to a...

Initializing multidimensional array and dynamic expansion

If you know the size you want: A = zeros(nrow,ncol); or A = zeros(nrow, ncol1, ncol2,ncol3); etc. Can also initialize to a...

11 months ago | 1

Answered

how to find index of each occurrence of my pattern in a file

This solution will find the lines that contain the whole phrase. The example illustrates how to consider or not consider the cas...

how to find index of each occurrence of my pattern in a file

This solution will find the lines that contain the whole phrase. The example illustrates how to consider or not consider the cas...

11 months ago | 0

Question

How can uicontrol be used to make an editable dropdown (eg combobox) control?

I'd like to use the uicontrol of matlab and its arguments rather than the uidropdown. But I want the uidropdown functionality o...

11 months ago | 2 answers | 0

Answered

How to reverse the order of words in string

There's undoubetly better solutions, but: strtrim(strrep(cell2mat([flipud(split('Hello. I. am. Here.'))']),'.','. '))

How to reverse the order of words in string

There's undoubetly better solutions, but: strtrim(strrep(cell2mat([flipud(split('Hello. I. am. Here.'))']),'.','. '))

11 months ago | 1

| accepted

Answered

How to change interval unit of x axis

Here's one way You can do shape downsampling - reshape then sum the lines. I made some data by digitizing yoour plot. It's att...

How to change interval unit of x axis

Here's one way You can do shape downsampling - reshape then sum the lines. I made some data by digitizing yoour plot. It's att...

11 months ago | 0

| accepted

Answered

Loading multiple images, taking mean of them and subtracting background

change the .png for whatever file extension you are using. Are your image greyscale? If not, it might not make sense to backg...

Loading multiple images, taking mean of them and subtracting background

change the .png for whatever file extension you are using. Are your image greyscale? If not, it might not make sense to backg...

11 months ago | 0

Answered

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...

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...

11 months ago | 0

| accepted

Submitted

Asteroid, Baseball, etc. (obj mesh) Projected Surface Area

Calculate the projected area into wind axes for an obj (wavefront) that is a convex hull.

11 months ago | 7 downloads |

Answered

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...

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...

11 months ago | 0

Answered

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...

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...

11 months ago | 1

| accepted

Answered

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...

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...

11 months ago | 0

Answered

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...

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...

11 months ago | 0

Answered

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 ...

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 ...

11 months ago | 0

Answered

flip an array with the use of vectors

a=[1 7 5 9 3 2 4 1]; a(3:6) = fliplr(a(3:6));

flip an array with the use of vectors

a=[1 7 5 9 3 2 4 1]; a(3:6) = fliplr(a(3:6));

11 months ago | 0

Answered

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...

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...

11 months ago | 0

| accepted

Answered

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

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

11 months ago | 0

Solved

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...

11 months ago

Solved

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>...

11 months ago

Solved

Say something funny

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

11 months ago