# Michael Madelaire

Followers: 0 Following: 0

**Statistics**

RANK**1,238**

of 291,821

REPUTATION**53**

CONTRIBUTIONS

**8** Questions

**23** Answers

ANSWER ACCEPTANCE **
62.5%
**

VOTES RECEIVED**8**

RANK**13,000** of 19,828

REPUTATION**23**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **2**

ALL TIME DOWNLOADS**81**

RANK

of 146,676

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

How to generate points in triangular lattice pattern

clear all; close all; clc; %% Triangular grid information h_dist = 5; % Horizontal distance v_dist = sqrt(h_dist^2-(h_dist/...

5 years ago | 2

How to plot vertical line when hitting the range?

%% Init clear all; close all; clc; cd 'C:\Users\s144117\Desktop\mathworks' %% Load load('new') %% Find boarders boarders...

5 years ago | 1

| accepted

how to plot graph with color for xy vs z?

I think you are looking for a scatterplot. clear all; close all; clc; x = rand(100,1); y = rand(100,1); z = rand(100,1); ...

5 years ago | 0

| accepted

image plot after is calculating hilbert spectrum

There shouldn't be any problem. But you have attached no code, so it is hard to know. Without for information many things could...

5 years ago | 0

How to change the working directory as code progresses...

It is unclear to me where AddGrids is located and why you have to change directory to the Frames folder. Here are some options:...

5 years ago | 0

| accepted

Rotational symmetries of cubic crystal structures

I have made with without the use of build-in functions: I believe it is important for you to know how to rotate around an axis a...

5 years ago | 0

| accepted

Unable to extract data between two lines from a text file of below format

I do not know how you want the data. But you can very simply use fgetl(fid) to get a single line. fid = fopen('example.txt');...

5 years ago | 0

Latitude Longtitude Altitude convert to X Y Z with starting reference

Hi, there are still an unanswered question about the altitude that you have applied. Is it altitude above sea level? or is it so...

5 years ago | 0

Need help to code the power Low fit using least square regression

Here is my attempt. But it does not use a non linear fit as the suggestion above. Instead I fit the log. %% Init clear all; c...

5 years ago | 0

How to write a program to computation of drag force using loops

Drag on projectile

5 years ago | 0

How to extract a subset of person identified data from several excel files into one excel file

Start by saving the excel files as .csv. Then load them into MatLab with data1 = csvread(filename1); data2 = csvread(filenam...

5 years ago | 0

What is the physical model used in the function "gravitysphericalharmonic" in the case of the Moon?

If you are asking what spherical harmonics are then I suggest finding a paper on it online or starting with Wikipedia. But simp...

5 years ago | 0

Plotting a row from a matrix

INT_I(1000,:) That is your y-values plot(INT_I(1000,:)) Is equivalent to plot(1:length(INT_I(1000,:)), INT_I(1000,:)) Due t...

5 years ago | 2

| accepted

Projectile motion of a cannonball with varying drag

Hi, I am not sure about the equations you use. But here is my attempt. Try running it, and if it is what you are looking for, ...

5 years ago | 1

3rd degree polynomial interpolation in functions

Please do not send your data in like that. I have to copy it in some how and now it is just ugly... % Define x x = [0 10 15 ...

5 years ago | 0

| accepted

Hi, My histogram is not showing what I would like can I get some help please?

The problem is that you are not storing the answers/toss. A=input('How many tossing would you like to do? ') x= rand(A,1); ...

5 years ago | 0

| accepted

Submitted

Publish script - without plot and warnings

Publish all the MatLab scripts you want to pdf.

5 years ago | 2 downloads |

Question

Matlab freeze when fprintf to file

Hi I have a large amount of data, many years. It is given in daily files. For reasons irrelevant for the question I have t...

6 years ago | 1 answer | 0

### 1

answerQuestion

Two colormaps on map projection

Hi I would like to create a map projections load coast figure('units','normalized','outerposition',[0 0 1 1], 'Color','...

6 years ago | 1 answer | 0

### 1

answerQuestion

Correlation length of image

Hi I am working of a project where I have to determine the correlation length of some model parameters. This can be related ...

6 years ago | 0 answers | 0

### 0

answersQuestion

Updating mean and standard deviation

Hi I am working on a project which includes Bayesian inversion. And am working on an idea about updating the prior model iter...

6 years ago | 1 answer | 0

### 1

answeri need to divide a plot with a grid and color any grid based on the number of point in it

Hi You should be able to use hist3 and imagesc to achieve what you seek: data = randi(1000, 5000, 2); % Create fake data...

6 years ago | 0

I have three columns containing data. I want to isolate particular data depending on the third column and find the maximum values on the second column for each case of the isolated data from the third column.

Hi, hope this works. The first column shows the max in the first column. The second column shows the max in the second col...

6 years ago | 0

How to plot this graph?

Hi, hope this is what you wanted. It is still rough, but you can always make it better :) I = 1; x1= [-30 30]; y1=[30 3...

6 years ago | 1

| accepted

What happens if my computer is sent for repair and it is replaced or MATLAB deleted?

If you had MatLab on your computer, then I you must have a License-Key. If you have the key, then there's no problem.

6 years ago | 0

Contour plot around edge on map

I found an "okay" solution. As I suspected, in the main question, the interpolation was to blame. If the data goes from [-180, 1...

6 years ago | 0

| accepted

I have a looping question about a problem that I am doing. Could someone please help?

Hi Tony I hope this can help! Due tell if i misunderstood. tol = 0.001; % Tolerance y=1.4; % Set gamma value ...

6 years ago | 0

How can I combine data in multiple excel files an write the combined data in a new excel file data should be stored in column in excel file ?

I am not entirely sure what the question is. But if you have two files: file1.xlsx file2.xlsx and want to combine the d...

6 years ago | 0

| accepted

Question

Contour plot around edge on map

Hi I have some data I have to plot on a world map. It has to be a contour. This is what i have tried: lat = data(:, 1...

6 years ago | 1 answer | 1

### 1

answerQuestion

Multidimensional matrix multiplication with mex

Hi I am trying to do matrix multiplication via Mex. So fare i have, using this as <https://se.mathworks.com/matlabcentral/...

7 years ago | 1 answer | 0