Community Profile

# Meg Noah

##### Last seen: Today
172 2016 年以降の合計貢献数

#### Meg Noah's バッジ

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

2日 前 | 0

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

6日 前 | 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...

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

8日 前 | 1

| 採用済み

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

8日 前 | 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...

8日 前 | 0

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

8日 前 | 1 件の回答 | 0

### 1

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

8日 前 | 1

| 採用済み

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

9日 前 | 0

| 採用済み

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

9日 前 | 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...

9日 前 | 0

| 採用済み

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

9日 前 | ダウンロード 9 件 |

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

10日 前 | 0

Plotting a smooth curve

10日 前 | 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...

10日 前 | 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...

10日 前 | 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 ...

10日 前 | 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));

10日 前 | 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...

10日 前 | 0

| 採用済み

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

10日 前 | 0

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

11日 前

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日 前

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日 前

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

11日 前

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

11日 前

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

11日 前

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

11日 前

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

11日 前

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

11日 前

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

11日 前