Question

Reference Model and Algebraic loops

Hello, I've a main model including several reference models. If I try to run the simulation I get the error 'Algebraic loops ar...

1 month ago | 1 answer | 0

Question

How is it possible to map input data to a vector from a spreadsheet?

Hello, I have multiple inputs in my simulink diagram with a dimension of 6. Now I tried to map input data from an excel spreads...

2 months ago | 0 answers | 0

Question

3 DOF Vehicle Body with values deviating from Mathworks reference model

Hello, I have built the Mathworks Model 3 DOF Vehicle model (Dual Track) and used the formulas given on the documentation pag...

3 months ago | 0 answers | 0

Question

Save logsout variable to file after executing test cases with test manager

Hello, I'm using the Simulink Test Manager GUI for creating and executing multiple test cases. After executing I want to do som...

4 months ago | 0 answers | 0

Question

Solve variable equation system in Simulink

Hello, I have the following equation system: Y = X1/3*A+X1/3*B+X1/3*C + X2/3*D+X2/3*E+X2/3*F X1+X2=X X,Y,A,B,C,D,E,F are k...

5 months ago | 0 answers | 0

Question

Plot surface data which satisfies x/y condition

Hello, I have a function g(x,y). I want to plot the surf data only for areas where condition x + y = 5 is satisfied. How can I ...

6 months ago | 1 answer | 0

Question

Multi-axle vehicle dynamics simulation

Hello Community, on the basis of a project work in university I have to design a vehicle model with three / four axles and a...

12 months ago | 1 answer | 0

Question

Set some legends of a line plot to invisible

Hello, I'm plotting multiple lines with the command: line([Min Min], [minY-20 maxY+20],....); The variables used in l...

2 years ago | 1 answer | 0

Question

Bivariate histogram without hist3

Hello, as illustrated in the image below I'm trying to create an bivariate histogram plot. But I can't use the hist3 function (...

2 years ago | 1 answer | 0

Question

Two y axis without using plotyy

Hello, below you can see the structure of my plot. At the moment Im using the same y axis for every plot but I want to use two ...

2 years ago | 1 answer | 0

Question

Plot concentration range respectively density from 2D array

Hello, I have an array with two columns with measurement data. Now I want to show the concentration range of my measurement. ...

2 years ago | 1 answer | 0

Question

Execute a code section with a button

Hello, I have multiple code sections in my m-file separated with the double %% sign. Each code section outputs a plot. Now ...

2 years ago | 0 answers | 0

Question

Calculate standard deviation for different groups

I want to plot a Measurement with a bar figure. Therefore I want to create different groups and calculate the standard deviation...

2 years ago | 2 answers | 0

Question

Adjust bar width according to the x values

Hello, I have a probem with my bar plot. I group my data with the histc function (groups not evenly spread) and calculate the x...

2 years ago | 1 answer | 0

Question

Fill three areas in a plot with one line

Hello, I have one vector with my x axis values, one vector with the y axis values for my line and a min and max value for the y...

2 years ago | 1 answer | 0

Answered

Change Plot background color and save to file

It works with: set(gcf, 'InvertHardCopy', 'off');

Change Plot background color and save to file

It works with: set(gcf, 'InvertHardCopy', 'off');

2 years ago | 5

| accepted

Question

Adjust the bar width dynamic for plotting

Hello again I have another plotting problem. I have multiple data bases and I want to plot them with the bar function. But in ...

2 years ago | 1 answer | 0

Question

Change Plot background color and save to file

Hello again, I have multiple plots and I want to have a gray background for them. I have tried: set(gca,'color','gray...

2 years ago | 2 answers | 0

Question

Fill background area between two x values in a graph

Hello, How can I fill a specified background area between two x values?

2 years ago | 1 answer | 0

Question

Skip subs/index values with accumarray

I created an index (groupID) for a vector A. The vector is sorted from the smallest value to the biggest one. The function and ...

2 years ago | 1 answer | 0

Question

Get difference between array values

Hello, I have an one column array (see below) with logical 0 and 1. I want to get the difference between each value to detect a...

2 years ago | 3 answers | 0

Question

How to group data in two column matrix

Hello, I have a set of data that I would like to analyse. The data is split into two columns in a matrix. Here is a cutout: ...

2 years ago | 1 answer | 0