Community Profile

photo

Michael Madelaire


Attivo dal 2017

Statistiche

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

Visualizza badge

Content Feed

Visto da

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

oltre 4 anni fa | 2

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

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 0

| accettato

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

oltre 4 anni fa | 0

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

quasi 5 anni fa | 0

| accettato

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

oltre 5 anni fa | 0

| accettato

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 2

| accettato

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

oltre 5 anni fa | 1

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

oltre 5 anni fa | 0

| accettato

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

oltre 5 anni fa | 0

| accettato

Inviato


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

oltre 5 anni fa | 3 download |

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 1

| accettato

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

| accettato

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

| accettato

Domanda


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

oltre 6 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

Carica altro