제출됨

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

to demonstrate writing inputs and reading outputs from an xlsm spreadsheet

8일 전 | 다운로드 수: 8 |

답변 있음

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

약 1달 전 | 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...

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

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

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

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

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

약 2달 전 | 답변 수: 2 | 0

답변 있음

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.'))']),'.','. '))

약 2달 전 | 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...

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

약 2달 전 | 0

| 수락됨

답변 있음

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

약 2달 전 | 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...

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

약 2달 전 | 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.

약 2달 전 | 다운로드 수: 8 |

답변 있음

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

약 2달 전 | 0

답변 있음

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

약 2달 전 | 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...

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

약 2달 전 | 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...

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

약 2달 전 | 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 ...

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

약 2달 전 | 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));

flip an array with the use of vectors

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

약 2달 전 | 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...

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

약 2달 전 | 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, ...

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

약 2달 전 | 0

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

Say something funny

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

약 2달 전

해결됨

Find the hypotenuse

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

약 2달 전

해결됨

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

약 2달 전

해결됨

Add a row of zeros on top of a matrix

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

약 2달 전

해결됨

Remove white space from the string

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

약 2달 전

해결됨

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

약 2달 전