Community Profile

Pavan Guntha

MathWorks

Last seen: 10 dagar 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

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

ungefär ett år 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 ...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år ago | 0

| accepted

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

ungefär ett år 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...

ungefär ett år 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....

ungefär ett år 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...

ungefär ett år ago | 1

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

ungefär ett år 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. ...

ungefär ett år 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...

ungefär ett år 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' ...

ungefär ett år 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 ...

ungefär ett år ago | 1

| accepted

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

ungefär ett år 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...

ungefär ett år 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.

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år ago | 0

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

ungefär ett år 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...

ungefär ett år 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 ...

ungefär ett år ago | 0

| accepted

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

ungefär ett år ago | 0

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

ungefär ett år ago | 0

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

mer än ett år 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...

mer än ett år 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 = [...

mer än ett år 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...

mer än ett år 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...

mer än ett år ago | 1

| accepted