Community Profile

photo

Pavan Guntha

MathWorks

Last seen: 3 days ago 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

Statistics

  • Knowledgeable Level 4
  • 3 Month Streak
  • Revival Level 3
  • First Answer

View badges

Content Feed

View by

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

| accepted

Answered
Using Webread to download the data from a website
Hello Yirui, You could use urlwrite and webwrite functions in order to download content from an online source. The following si...

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

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

2 years ago | 0

| accepted

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 2

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

| accepted

Answered
Use simulink to generate hdl code but receive an error below.
Hello Kris, The documentation for n-D Lookup Table shows that HDL Code Generation for is supported for 'Flat' and 'Linear point...

2 years ago | 0

Answered
Simulink block warning suppression for identifier 'Simulink:blocks:AssertionAssert' does not work.
Hello Piotr, You could supress the warnings from Assertion blocks in a Simulink model by disabling the Assertion for those bloc...

2 years ago | 0

Answered
Simulink Mask Control: File Explorer
Hi Jordan, The required functionality is illustrated by the following example. The step by step process is as follows: 1) Whil...

2 years ago | 1

| accepted

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
Pause and resume a MATLAB Simulation
Hello Karthikeyan, In order to pause a simulation upon occurance of an event, callbacks can be leveraged. In this scenario the ...

2 years ago | 1

Answered
How do I create a continuously updating pie chart?
Hello Aaron, You could use pie command to plot a pie chart. In order to update it dynamically, you could include the pie chart ...

2 years ago | 0

Load more