Community Profile

# Pavan Guntha

### MathWorks

Last seen: Today Active since 2021

Iam an Associate in Engineering Development Group at Mathworks.
Disclaimer: Any articles /ideas/opinions here are my own and in no way reflect that of Mathworks

Programming Languages:
MATLAB

#### Content Feed

View by

interpn not working inside of a Simulink function
Hi Julien, The issue occurs because of the follwing line in the code 'getAeroCoefficientsForVTail.m': % Line 91: coefficients...

15 days ago | 0

I would like to generate 3d voronoi from random points in 3d space
You could have a look at the documentation page of Voronoi Diagrams for more information on generating 3D voronoi regions using ...

15 days ago | 0

Fourier series for a sawtooth wave with period 2L (= 4)
Hi, You could have a look at the following page to understand derving the fourier series from a Sawtooth waveform: Fourier Ser...

16 days ago | 1

| accepted

Send decimal vector via serial port connection
Hi Rick, You could have a look at the following similar queries on MATLAB Answers community: Writing an array of numbers to se...

16 days ago | 0

Hello Yirui, You could use urlwrite and webwrite functions in order to download content from an online source. The following si...

17 days ago | 0

solve returns Empty sym: 0-by-1 answer
Hi, The solve function returns an empty object if there isn't any solution to the equation. For instance if the equation is cha...

20 days ago | 0

How to Model a 3D Printer?
Hello Franco, You could have a look at the following example which illustrates the process of modelling a Cartesian 3D printer....

21 days ago | 0

How to implement changing angle of curve as Simulink input?
Hi Johannes, You could store the angles of each directional vector into a workspace variable and then leverage From Workspace b...

21 days ago | 0

how to change the parameter in simulation while the simulation is run
Hello Shehab, You could vary a parameter value using the knob while the simulation is in progress by slowing the simulation pac...

21 days ago | 0

| accepted

Use excel as input to Simulink model
Hi Lokesh, 1) In order to provide inputs to a simulink model from a .mat file you could leverage From File block in Simulink. ...

21 days ago | 0

| accepted

Surface Integral over a Triangular Flat Plane
You could have a look at the documentation page of integral2 function which describes how to Integrate Triangular Region with Si...

22 days ago | 0

Solving simultaneous thermodynamic equations
Hello Shreyas, In the code attached, 'sol' is struct with fields 'a1' and 'b1'. There's no field named 'xbs' or 'xbl' in 'sol' ...

22 days ago | 0

How to plot midpoint method
Hello Fausto, In order to plot the output of midpoint method, the data corresponding to the variable to be plotted needs to be ...

22 days ago | 1

| accepted

Hello Darkhan, For simulating cantilever beam in Simulink, you could implement the equations for deflection, stress distributio...

22 days ago | 0

Identify words using time-frequency characteristics.
Hello Leon, You could have a look at the following resources regarding interpreting basic time-frequency signal analysis. Prac...

22 days ago | 0

| accepted

Can I get code for detecting the obstacle using Markov Random Field?
Hello Meghraj, You can have a look at the resources attached to the following similar question here.

22 days ago | 0

How to use of physical units within Simulink systems?
Hello Klaus, You could use Simscape in order to model systems such as electric motors, hydraulic actuators etc., which supports...

23 days ago | 0

| accepted

Use of fminbnd in Simulink Matlab Function
Hello Florian, You could follow the following steps to use fminbnd function within a Simulink model: 1) Create a MATLAB functi...

23 days ago | 0

Hello Shayma, You could urlwrite function to download the files from an online database. The following steps can be followed to...

23 days ago | 0

Semilog plot in curve fitting tool
Hello Robert, There isn't any direct option to plot the data in a semilog plot using Curve Fitting Toolbox. The workaround is a...

23 days ago | 0

| accepted

Hello Maria, The documentation for 'edfread' shows that it can be used to read data from EDF/EDF+ files. You could have a look ...

23 days ago | 0

| accepted

Hello Kris, The documentation for n-D Lookup Table shows that HDL Code Generation for is supported for 'Flat' and 'Linear point...

24 days ago | 0

Hello Piotr, You could supress the warnings from Assertion blocks in a Simulink model by disabling the Assertion for those bloc...

24 days ago | 0

Hi Jordan, The required functionality is illustrated by the following example. The step by step process is as follows: 1) Whil...

2 months ago | 1

| accepted

Creating a 2D mesh on a given boundary
Hi, You could use 'triplot' function with an appropriate triangulation object to plot the triangular mesh. An illustration on h...

2 months ago | 1

| accepted

How do I display a table which has another table as a variable in app designer app in Matlab?
Hi Aynur, You could try placing the following code in the startupFcn of the MATLAB App: function startupFcn(app) test = [...

2 months ago | 0

App Designer push button callback on push/hold (not native ButtonPushFcn)
Hello Rick, You could leverage State Button instead of Push Button. When the Push Button is clicked once, the button appears to...

2 months ago | 0

how can i set marker(dots) in .fig files in simulink just like shown in the figure.
Hello, You can find the Markers option at View > Style ... of the Scope block as shown below: You can choose the marker of...

2 months ago | 1

| accepted