Community Profile

# Sai Veeramachaneni

### MathWorks

Last seen: oltre un anno fa Attivo dal 2020

I am Application Software Engineer at MathWorks.
My area of interests include Simulink, MATLAB, Deep Learning.
Disclaimer: Any opinion here are my own and in no way reflect that of MathWorks.

#### Content Feed

Visto da

Risposto
Vector Dot Product using Matrix
Hi, Refer to this example. For multidimensional arrays, dot function calculates the dot product of corresponding vectors along...

oltre un anno fa | 0

Risposto
Dependent property for subclasses
Hi, get.a is not a valid function name, Valid function names begin with an alphabetic character, and can contain letters, numbe...

oltre un anno fa | 0

Risposto
Initializing MATLAB Graphics failed in Linux.
Hi, Your issue might be related to this known bug. I suggest you to contact support for startup issues Thanks

oltre un anno fa | 0

Risposto
How can I rewrite symbolic expression as a function of another symbolic expression?
Hi, You can leverage syms, diff functions to implement your functionality Example: syms x y V = x^2+y^2 f1 = x f2 = -x+y...

oltre un anno fa | 0

Risposto
MatLab Equation - Two Unknowns
Hi, Nl_Final==(1-((tan(h)*(n*s_AR))/(n*s_AR))); In the above equation n*s_AR is getting cancelled out in numerator and denomin...

oltre un anno fa | 0

Risposto
How to multiply array by -1?
Hi, You can use y = -x or y = -1.*x

oltre un anno fa | 0

Risposto
Get coeffs of exponents
Hi, You can use syms and coeffs. Example: syms t w i A=-1*exp(t*w*-1i)/2 + exp(t*w*1i)/2 - exp(t*w*2i)/2 + exp(t*w*-2i)/2 c...

oltre un anno fa | 0

| accettato

Risposto
I am getting an error
Hi, Try navigating to different folder and repeat the intended action. A quick fix is to type below command in command window ...

circa 2 anni fa | 0

Risposto
from urdf to simscape model
Hi, You can import urdf model into Simscape using smimport. References: Urdf-import Hope it helps.

circa 2 anni fa | 0

| accettato

Risposto
how to change time interval to day, month and year?
Hi, Stop time indicates the period of time for the simulation to run from the start time. It is simulation time which is not sa...

circa 2 anni fa | 0

Risposto
Whenever i open matlab i see following error message. I am also not able to draw graph in matlab due to this issue. I am using a debian machine with nvidia graphics card.
Hi, Try executing one of the following commands in debian shell to start MATLAB matlab -nodesktop -r "opengl info, desktop" m...

circa 2 anni fa | 0

Risposto
Hi, i = strsplit(url, '/'); y = length(i); fileName = i(y); It seems that above lines of code makes the fileName variable...

circa 2 anni fa | 0

| accettato

Risposto
What is the difference between Optimproblem and linprog
Hi, There are two ways to solve an optimization problem. 1) Problem-based 2) Solver-based Problem-based approach involves c...

circa 2 anni fa | 0

| accettato

Risposto
Hi, This is not expected behaviour and can't be reproduce at my end. I suggest you to contact MathWorks support to resolve this...

circa 2 anni fa | 0

| accettato

Risposto
can we use the current versions of matlab without updating
Hi, You can use existing version of your MATLAB without updating, but you can't use the features released in later versions.

circa 2 anni fa | 1

Risposto
Possible to create new classification learner to add to Classification Learner app?
Hi, Adding custom classification learner to drop-down menu in Classification Learner app is currently not supported.

circa 2 anni fa | 0

| accettato

Risposto
Sharing data among AppDesigner, Functions and Simulink Model.
Hi, You can use assignin function to assign variables in base workspace, also try methods suggested here. Hope it helps.

circa 2 anni fa | 1

| accettato

Risposto
how to extract an extra variable which is calculated in ode function to main workspace?
Hi, You can leverage assignin and evalin functions for your usecase. Hope it helps.

circa 2 anni fa | 0

Risposto
for loop sequence from the matrix
Your question can be split into two parts. Identifying discontinous numbers in the matrix A. Exeute the for loop with +5 and -...

circa 2 anni fa | 0

Risposto
use java class with '\$' symbol in the class name
Hi, It seems that Builder is a nested class inside GoogleAuthorizationCodeFlow.(\$ denotes presence of inner class) Try import...

circa 2 anni fa | 0

Risposto
To Expand Subsystem by using model explorer
Hi, One possible idea is to use Simulink.BlockDiagram.expandSubsystem(subsys). Step-1: Get all the blocks and subsystems in th...

circa 2 anni fa | 1

| accettato

Risposto
How to make a polar plot using element-by-element multiplcation
Hi, You can refer to polarplot function and try some examples from here.

circa 2 anni fa | 0

Risposto
How do we vary hyperparameters to find the optimal values?
Hi, You can try parameters listed here to build the optimal model which is suitable for your dataset.

circa 2 anni fa | 0

Risposto
Finding several peaks in a vector
Hi, You can use islocalmax and islocalmin functions to calculate locations of local maximums and minimums respectively. You ca...

circa 2 anni fa | 0

Risposto
neural network with bayesian regularization: find weights and biases and recalculate the network
Hi, You can use net.IW, net.LW, net.b properties of neural network object to get weights and biases used in the network. You c...

circa 2 anni fa | 1

| accettato

Risposto
How to find the Elements of a Coefficient Matrix?
Hi, You can leverage coeffs function to find coefficients of an equation. Example- syms A B C x y E=A+A*x^2+B*x+C*x+C*x^2+A...

circa 2 anni fa | 1

| accettato

Risposto
What different parameters can I use to see any effect it has on the model?
You can try all the parameters of NaiveBayes.fit as specified here. For your information - According to the R2018a Release Note...

circa 2 anni fa | 0

Risposto
An array / matrix of tables
Hi. I think you are using smooth parenthesis for assigning table to cell index i.e. c(1)=Table which results in "Can't convert ...

circa 2 anni fa | 0

Risposto
Find first item with a certain condition and use it, instead of finding all items with that condition
Your second example using find is not feasible due to memory limitations. To my understanding you are doing linear search and ...

circa 2 anni fa | 0

Risposto
what's the difference bewteen the scatternign tarsnform and cwt function?
cwt function – It performs the continuous wavelet transform (CWT) for the given input signal. It returns the wavelet coefficient...

circa 2 anni fa | 0