# Michael Madelaire

**Statistics**

RANK**1.168**

of 277.962

REPUTATION**49**

CONTRIBUTIONS

**8** Questions

**23** Answers

ANSWER ACCEPTANCE **
62.5%
**

VOTES RECEIVED**6**

RANK**12.792** of 18.801

REPUTATION**21**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **5**

ALL TIME DOWNLOADS**69**

RANK

of 129.166

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

**Content Feed**

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

bijna 4 jaar 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...

bijna 4 jaar 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); ...

bijna 4 jaar 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...

bijna 4 jaar 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:...

bijna 4 jaar 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...

meer dan 4 jaar 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');...

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar ago | 0

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

Drag on projectile

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar ago | 0

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

meer dan 4 jaar 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 ...

meer dan 4 jaar 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); ...

meer dan 4 jaar ago | 0

| accepted

Submitted

Publish script - without plot and warnings

Publish all the MatLab scripts you want to pdf.

meer dan 4 jaar ago | 5 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...

bijna 5 jaar 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','...

bijna 5 jaar 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 ...

ongeveer 5 jaar 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...

ongeveer 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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.

meer dan 5 jaar 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...

meer dan 5 jaar 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 ...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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/...

ongeveer 6 jaar ago | 1 answer | 0