Community Profile

photo

Michael Madelaire


Active since 2017

Followers: 0   Following: 0

Statistics

All
  • 5-Star Galaxy Level 2
  • Thankful Level 2
  • First Submission
  • Knowledgeable Level 2
  • First Answer
  • Thankful Level 1

View badges

Feeds

View by

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

mer än 4 år ago | 2

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

mer än 4 år ago | 1

| accepted

Answered
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); ...

mer än 4 år ago | 0

| accepted

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

nästan 5 år ago | 0

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

nästan 5 år ago | 0

| accepted

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

mer än 5 år ago | 0

| accepted

Answered
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');...

mer än 5 år ago | 0

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

mer än 5 år ago | 0

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

mer än 5 år ago | 0

Answered
How to write a program to computation of drag force using loops
Drag on projectile

mer än 5 år ago | 0

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

mer än 5 år ago | 0

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

mer än 5 år ago | 0

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

mer än 5 år ago | 2

| accepted

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

mer än 5 år ago | 1

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

mer än 5 år ago | 0

| accepted

Answered
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); ...

mer än 5 år ago | 0

| accepted

Submitted


Publish script - without plot and warnings
Publish all the MatLab scripts you want to pdf.

mer än 5 år ago | 3 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...

mer än 5 år ago | 1 answer | 0

1

answer

Question


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

nästan 6 år ago | 1 answer | 0

1

answer

Question


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

ungefär 6 år ago | 0 answers | 0

0

answers

Question


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

ungefär 6 år ago | 1 answer | 0

1

answer

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

mer än 6 år ago | 0

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

mer än 6 år ago | 0

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

mer än 6 år ago | 1

| accepted

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

mer än 6 år ago | 0

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

mer än 6 år ago | 0

| accepted

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

mer än 6 år ago | 0

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

mer än 6 år 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...

mer än 6 år ago | 1 answer | 1

1

answer

Question


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

ungefär 7 år ago | 1 answer | 0

1

answer

Load more