Answered

switch block Combine multiple signals into single signal.

Hello, A simple example would be suppose the "criteria for passing the first input" parameter is set to "u2 >= threshold" then ...

switch block Combine multiple signals into single signal.

Hello, A simple example would be suppose the "criteria for passing the first input" parameter is set to "u2 >= threshold" then ...

2 years ago | 0

Answered

Product method for Fuzzy implication step

Hello, For product implication when it says the antecedent gets squashed, it means that the data is reduced or scaled down to t...

Product method for Fuzzy implication step

Hello, For product implication when it says the antecedent gets squashed, it means that the data is reduced or scaled down to t...

2 years ago | 0

| accepted

Answered

Variable cylindrical solid not varying length

You could use any way of inputing signals into the cylindrical solid block be it using MATLAB script, knob or using any type of ...

Variable cylindrical solid not varying length

You could use any way of inputing signals into the cylindrical solid block be it using MATLAB script, knob or using any type of ...

2 years ago | 0

Answered

AppDesigner Code Simplification Help

Hello, With the information given, I am assuming that you want to know how to package the above snippet of code in a function a...

AppDesigner Code Simplification Help

Hello, With the information given, I am assuming that you want to know how to package the above snippet of code in a function a...

2 years ago | 0

Answered

Appdesigner: Edit Variable in Cache menu

Hello, To answer your first question, you can change the edit field to a dropdown menu and put the options for the menu program...

Appdesigner: Edit Variable in Cache menu

Hello, To answer your first question, you can change the edit field to a dropdown menu and put the options for the menu program...

2 years ago | 0

Answered

Fixed Point Iteration in Numerical Methods for any equation

Hi, If you want to get the equation through string input you could use "str2func" to convert the string to function. The functi...

Fixed Point Iteration in Numerical Methods for any equation

Hi, If you want to get the equation through string input you could use "str2func" to convert the string to function. The functi...

3 years ago | 0

Answered

RoadRunner Project Version Control Issues

I think you have not enabled the "Export markings as <line>" checkbox during your OpenDrive Export, which might be the reason wh...

RoadRunner Project Version Control Issues

I think you have not enabled the "Export markings as <line>" checkbox during your OpenDrive Export, which might be the reason wh...

3 years ago | 0

| accepted

Answered

Can the constant and gain block be saved as C code variables using the Simulink coder?

Hi, You could always change your code after code generation using simulink coder. But if you want to save as variable in gain a...

Can the constant and gain block be saved as C code variables using the Simulink coder?

Hi, You could always change your code after code generation using simulink coder. But if you want to save as variable in gain a...

3 years ago | 0

Answered

Solve System of Equations for Mesh Circuit Analysis in S-Domain

Hi, The reason you are getting an empty value from the solve function is because it cannot find a solution for the given set of...

Solve System of Equations for Mesh Circuit Analysis in S-Domain

Hi, The reason you are getting an empty value from the solve function is because it cannot find a solution for the given set of...

3 years ago | 0

Answered

Remove intermittent text when reading in a table from a .dat file

Hi, Please refer to the following similar question which could be helpful to you. How do I read data (from a .dat file) sepera...

Remove intermittent text when reading in a table from a .dat file

Hi, Please refer to the following similar question which could be helpful to you. How do I read data (from a .dat file) sepera...

3 years ago | 0

| accepted

Answered

How to make MATLAB use a gui program 1000 times and thin export some specific results into tables

Hi, I don't understand your usecase properly but you could always run a gui program 1000 times and get the input and store it i...

How to make MATLAB use a gui program 1000 times and thin export some specific results into tables

Hi, I don't understand your usecase properly but you could always run a gui program 1000 times and get the input and store it i...

3 years ago | 0

Answered

Write "BIT" data type to existing PostgreSQL table from Matlab

Hi, Try using the following code. my_table = table("0", 'VariableNames', {'value_parameter'}); You were getting the error bec...

Write "BIT" data type to existing PostgreSQL table from Matlab

Hi, Try using the following code. my_table = table("0", 'VariableNames', {'value_parameter'}); You were getting the error bec...

3 years ago | 1

Answered

Level Set Method for Image Segmentation Using Fuzzy Clustering

Hi, You could use individual slices of the 3D Image for segmentation. The slice of 3D image becomes a 2D image which you could ...

Level Set Method for Image Segmentation Using Fuzzy Clustering

Hi, You could use individual slices of the 3D Image for segmentation. The slice of 3D image becomes a 2D image which you could ...

3 years ago | 0

Answered

Calculating a 3D Mean-Trajectory from an Array

Hi, You could interpolate the data to create a continuous trajectory from the set of points. You could use curve fitting toolbo...

Calculating a 3D Mean-Trajectory from an Array

Hi, You could interpolate the data to create a continuous trajectory from the set of points. You could use curve fitting toolbo...

3 years ago | 0

Answered

Real time data transfer between MATLAB and Raspberrypi

Hi, Refer to the following link to know about transferring data from MATTLAB to Raspberry PI Transmit and Receive Data Using R...

Real time data transfer between MATLAB and Raspberrypi

Hi, Refer to the following link to know about transferring data from MATTLAB to Raspberry PI Transmit and Receive Data Using R...

3 years ago | 0

Answered

Plotting the probability of drawing a Spade

Hi, Probability of drawing spades from 100 draws is still one single value. You can try adding a for loop over the for loop wit...

Plotting the probability of drawing a Spade

Hi, Probability of drawing spades from 100 draws is still one single value. You can try adding a for loop over the for loop wit...

3 years ago | 0

Answered

how to allign plot figure and annotation

Hi, You could change the position of annotation by changing the X and Y properties of the annotations. These values represent t...

how to allign plot figure and annotation

Hi, You could change the position of annotation by changing the X and Y properties of the annotations. These values represent t...

3 years ago | 0

Answered

6 DOF block change axis

Refer to this Solution provided by the MathWorks Staff for a similar type of question. I hope this answer would be helpful in so...

6 DOF block change axis

Refer to this Solution provided by the MathWorks Staff for a similar type of question. I hope this answer would be helpful in so...

3 years ago | 0

Answered

Real Time plotting in MATLAB GUI

Hi, You could point all the points in one iteration and change their locations in the next second. So suppose you plot 60 point...

Real Time plotting in MATLAB GUI

Hi, You could point all the points in one iteration and change their locations in the next second. So suppose you plot 60 point...

3 years ago | 1

Answered

Lorentzian Fitting with .s2p file

Hi, MATLAB handles Touchstone files as S-Parameter objects, which require RF Toolbox to be extracted. To get the data from the...

Lorentzian Fitting with .s2p file

Hi, MATLAB handles Touchstone files as S-Parameter objects, which require RF Toolbox to be extracted. To get the data from the...

3 years ago | 0

Answered

ValueChangedFcn on uieditfield (uifigure based app)

Hi, As you have tried all the possible solutions, one possible workaround is to add a manual search button which the user could...

ValueChangedFcn on uieditfield (uifigure based app)

Hi, As you have tried all the possible solutions, one possible workaround is to add a manual search button which the user could...

3 years ago | 0

| accepted

Answered

Save and rename part of files in plot

Hi, You could add the file name as a tag before plotting the line and also add a Onclick callback. So when you click the line, ...

Save and rename part of files in plot

Hi, You could add the file name as a tag before plotting the line and also add a Onclick callback. So when you click the line, ...

3 years ago | 0

| accepted

Answered

Cursors in uiaxes that is able to move horisontally along the x-axis according to mouseclicks by the user?

Hi, One way to make sure the two cursors move horizontally is to replot the two cursors with different locations by changing th...

Cursors in uiaxes that is able to move horisontally along the x-axis according to mouseclicks by the user?

Hi, One way to make sure the two cursors move horizontally is to replot the two cursors with different locations by changing th...

3 years ago | 0

Answered

Fread com device too slow

Hi, Refer to the following existing solutions, Fread performance is slow. Why? - MATLAB Answers - MATLAB Central (mathworks.co...

Fread com device too slow

Hi, Refer to the following existing solutions, Fread performance is slow. Why? - MATLAB Answers - MATLAB Central (mathworks.co...

3 years ago | 0

Answered

Simulink bus not working the way i intended

Hi, You could refer to the following question. Struct as input to a Simulink MATLAB Function block - MATLAB Answers - MATLAB C...

Simulink bus not working the way i intended

Hi, You could refer to the following question. Struct as input to a Simulink MATLAB Function block - MATLAB Answers - MATLAB C...

3 years ago | 0

Answered

How to cut a polygonal mesh by a line? (Tips needed)

Hi, You could use 'polyxpoly' function to find the intersection points of the line on the polygon edges which would probably h...

How to cut a polygonal mesh by a line? (Tips needed)

Hi, You could use 'polyxpoly' function to find the intersection points of the line on the polygon edges which would probably h...

3 years ago | 0

| accepted

Answered

Stl files - see inner and outer contours for gaps and holes

Hi, This question seems to be similar to your question. Find holes and gaps in .stl files - MATLAB Answers - MATLAB Central (m...

Stl files - see inner and outer contours for gaps and holes

Hi, This question seems to be similar to your question. Find holes and gaps in .stl files - MATLAB Answers - MATLAB Central (m...

3 years ago | 0

Answered

How do i calcualte Image Fidelity Using this equation?

Hi, You could use "for" loops for doing the summation of the values and storing the P and S variables as 2 dimensional arrays w...

How do i calcualte Image Fidelity Using this equation?

Hi, You could use "for" loops for doing the summation of the values and storing the P and S variables as 2 dimensional arrays w...

3 years ago | 0

Answered

How evaluate an image after segmentation?

You could use the evaluateSemanticSegmentation function to evaluate different performance metrics which you require.

How evaluate an image after segmentation?

You could use the evaluateSemanticSegmentation function to evaluate different performance metrics which you require.

3 years ago | 0

Answered

change variable in a class

Hi, As kanal object is a private variable in sender class, any user will not be able to access that object and set any variable...

change variable in a class

Hi, As kanal object is a private variable in sender class, any user will not be able to access that object and set any variable...

3 years ago | 0

| accepted