Community Profile

# Meg Noah

##### Last seen: 1 day ago
173 total contributions since 2016

View details...

Contributions in
View by

Submitted

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

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

1 month ago | 0

| accepted

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

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 1

| accepted

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

1 month ago | 1

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

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

1 month ago | 2 answers | 0

### 2

How to reverse the order of words in string
There's undoubetly better solutions, but: strtrim(strrep(cell2mat([flipud(split('Hello. I. am. Here.'))']),'.','. '))

1 month ago | 1

| accepted

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

1 month ago | 0

| accepted

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

1 month ago | 0

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

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

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

1 month ago | 0

Plotting a smooth curve

1 month ago | 1

| accepted

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

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 0

| accepted

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

1 month ago | 0

Solved

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

1 month ago

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

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

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

1 month ago

Solved

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

1 month ago

Solved

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

1 month ago

Solved

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

1 month ago

Solved

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

1 month ago

Solved

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

1 month ago