Answered

How do I derive a linear equation for wind speed between 13km/h –50km/h using “if-else”?

you have to index Wind_Year with your increment i. For example Wind_Year(i) but heavily depends on what type of container your ...

How do I derive a linear equation for wind speed between 13km/h –50km/h using “if-else”?

you have to index Wind_Year with your increment i. For example Wind_Year(i) but heavily depends on what type of container your ...

19 days ago | 0

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

25 days ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

25 days ago

Question

Extract data from nyquist plot

Hello, I am trying to extract the data of a nyquist plot and plot it into another figure (I have to do this for another API nor...

25 days ago | 1 answer | 0

Answered

why do I get NaN result

Hey Nazil, I can just remember the RSA really roughly but I did some researches yesterday evening and I read at several points ...

why do I get NaN result

Hey Nazil, I can just remember the RSA really roughly but I did some researches yesterday evening and I read at several points ...

1 month ago | 1

Answered

Saving figures into structure?

Hey Jared, data = rand(10,2); myStruct.structFig = plot(data); myStruct.structData = data; m = figure(2); % does not ...

Saving figures into structure?

Hey Jared, data = rand(10,2); myStruct.structFig = plot(data); myStruct.structData = data; m = figure(2); % does not ...

1 month ago | 0

| accepted

Answered

generating a 3d surface from from [x,y,z,c] matrix

Hey Abdulelah, I have made some approaches with density3D from: https://github.com/TypHo22/2D_3D-Density-Histogram should do ...

generating a 3d surface from from [x,y,z,c] matrix

Hey Abdulelah, I have made some approaches with density3D from: https://github.com/TypHo22/2D_3D-Density-Histogram should do ...

1 month ago | 0

Question

Problem with compiling SimulinkCompiler example

Hi everyone I am trying to compile the Simulinkcompiler example: https://de.mathworks.com/help/releases/R2020a/slcompiler/ug/de...

2 months ago | 0 answers | 0

Submitted

openDrive-Parampoly3

Shows Parameter sensitivity of ParamPoly3 geometry

3 months ago | 2 downloads |

Answered

Get average water flow for every 15min between 1am and 5am of each day

Hey Charles, the easiest approach in my opinion is the following. keep in mind this is pseudoCode (have no matlab at the momen...

Get average water flow for every 15min between 1am and 5am of each day

Hey Charles, the easiest approach in my opinion is the following. keep in mind this is pseudoCode (have no matlab at the momen...

3 months ago | 0

Answered

How to change a line in .txt file by importing a name, from a loop

should finally do the work now: opts = detectImportOptions('test.csv'); opts.DataLines(1) = 1; %begin in first row opts.Data...

How to change a line in .txt file by importing a name, from a loop

should finally do the work now: opts = detectImportOptions('test.csv'); opts.DataLines(1) = 1; %begin in first row opts.Data...

3 months ago | 0

Answered

Plotting multiple graphics in Appdesigner

Hi Francesco, I have written a small example for you. Because you have no code attached I can not say where your mistake is. ...

Plotting multiple graphics in Appdesigner

Hi Francesco, I have written a small example for you. Because you have no code attached I can not say where your mistake is. ...

3 months ago | 0

| accepted

Submitted

Matlab2Arduino

Control a Servomotor with Matlab and Arduino without using Arduino Toolbox

3 months ago | 19 downloads |

Answered

How can I solve this system of equation

Hey Vince Ugo, you can not convert a variable into a symbolic expression (subsituting) and convert them into double() values an...

How can I solve this system of equation

Hey Vince Ugo, you can not convert a variable into a symbolic expression (subsituting) and convert them into double() values an...

4 months ago | 0

Answered

I have made a code for calculating the electric field intensity for n charges. I need help plotting the electric field intensity pl help !

As darova already mentioned it is really annoying. You should think about a different user input. But for visualizing I would ...

I have made a code for calculating the electric field intensity for n charges. I need help plotting the electric field intensity pl help !

As darova already mentioned it is really annoying. You should think about a different user input. But for visualizing I would ...

4 months ago | 0

| accepted

Answered

GUI in Matlab or C++ ?

Hey Osama, if you are asking which programming language is better for making a GUI implicates you have never done a GUI in C...

GUI in Matlab or C++ ?

Hey Osama, if you are asking which programming language is better for making a GUI implicates you have never done a GUI in C...

5 months ago | 0

| accepted

Submitted

Concave hull: A k-nearest neighbours algorithm

Concave hull: A k-nearest neighbours approach for the computation of the region occupied by a set of points

5 months ago | 5 downloads |

Submitted

2D_3D-Density-Histogram

This function makes a 2d histogram as an alternative to plotting data points and visually estimating where the most data is.

6 months ago | 1 download |

Submitted

imageSave

Function to save all open Matlab figures to a specific directory

6 months ago | 1 download |

Submitted

Graham-Scan

Algorithm for calculating a convex hull around a point cloud

6 months ago | 3 downloads |

Question

Include Simulink model in a matlab executable

Hello everyone, I want to deploy a matlab program (matlab compiler) which communicates with several simulink models. As known t...

6 months ago | 1 answer | 0

Answered

how to draw a 3d pyramid using patch

Hope that suits you. Did it in an Objectorientated approach because I think this can be reused easier Some theory for patch whi...

how to draw a 3d pyramid using patch

Hope that suits you. Did it in an Objectorientated approach because I think this can be reused easier Some theory for patch whi...

7 months ago | 0

Answered

How to take screenshot of a web page automatically using MATLAB?

Hi Tanzina, because I have not yet tackled such a task I can make only a few assumptions. For taking a screenshot: https://...

How to take screenshot of a web page automatically using MATLAB?

Hi Tanzina, because I have not yet tackled such a task I can make only a few assumptions. For taking a screenshot: https://...

7 months ago | 0

Answered

Limiting the number of Matlab figure windows

You should consider debugging without plotting and use breakpoints instead. I do not know the maximum limit of possible plot...

Limiting the number of Matlab figure windows

You should consider debugging without plotting and use breakpoints instead. I do not know the maximum limit of possible plot...

7 months ago | 0

Answered

Create a 3D surface using 3 matrices

Have a look at https://de.mathworks.com/help/matlab/ref/surf.html https://de.mathworks.com/help/matlab/ref/mesh.html

Create a 3D surface using 3 matrices

Have a look at https://de.mathworks.com/help/matlab/ref/surf.html https://de.mathworks.com/help/matlab/ref/mesh.html

7 months ago | 0

Answered

Animating the movement of a figure

A rough and quick example: for(n=1:1:360) RectangleData = calcRectangle(n); %calculate your new position hRectangle...

Animating the movement of a figure

A rough and quick example: for(n=1:1:360) RectangleData = calcRectangle(n); %calculate your new position hRectangle...

7 months ago | 0

Answered

Can I extract image coordinates using Matlab ?

Hey have you already tried to read in the .tiff? Have a look here: https://de.mathworks.com/help/matlab/ref/tiff.read.html May...

Can I extract image coordinates using Matlab ?

Hey have you already tried to read in the .tiff? Have a look here: https://de.mathworks.com/help/matlab/ref/tiff.read.html May...

7 months ago | 0

Answered

how can I check if a specific value in a matrix is an integer?

I am not quiet sure if you mean a REAL integer or just a number like 3. Because matlab stores everything as double by default. B...

how can I check if a specific value in a matrix is an integer?

I am not quiet sure if you mean a REAL integer or just a number like 3. Because matlab stores everything as double by default. B...

11 months ago | 0

Answered

Transfer function in Simulink

I am not sure if I understand your question completely. You should have a look on the system Identification Toolbox.

Transfer function in Simulink

I am not sure if I understand your question completely. You should have a look on the system Identification Toolbox.

1 year ago | 0

Answered

How to calculate a integral for a 4D array?

Hey R.N. I think it makes more sense to make a simple cubic integral and show its value along the time variable?

How to calculate a integral for a 4D array?

Hey R.N. I think it makes more sense to make a simple cubic integral and show its value along the time variable?

1 year ago | 0