# Varun Gunda

### MathWorks

I am an Electrical Engineer by education.

**Statistics**

RANK**1 238**

of 264 992

REPUTATION**42**

CONTRIBUTIONS

**0** Questions

**23** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**8**

RANK

of 18 105

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How do I export the whole figure plotted in matlab using export_fig?

Try this: >> set(gcf,'PaperOrientation','landscape'); >> print -dpdf myFig -fillpage

mer än 5 år ago | 0

| accepted

What can I do to avoid the following error with mupadmex ?

Executing "which -all sym" reveals if there is a custom file with the same name "sym", which is causing this error. Renaming the...

mer än 5 år ago | 0

I need help using a p function as a block in simulink.

MATLAB functions can call P-code. When the .m and .p versions of a file exist in the same folder, the P-file takes precedence. ...

mer än 5 år ago | 0

Solve for multiple values

You can try the following: ipop = zeros(4,50); for x=1:50 eq1= 5*x^3+3*x^2+4*x+5; eq2= 0.05*x^2+4*x+5; eq3= 100*x^...

mer än 5 år ago | 0

매틀랩 다운받는 사이트를 알려주세요

Check the system requirements for MATLAB in <https://in.mathworks.com/support/sysreq.html this> and <https://in.mathworks.com/su...

mer än 5 år ago | 0

How to make RTW options persist.

You can use Simulink® Preferences to specify Simulink editing environment options and default behaviors. In the MATLAB® Comma...

mer än 5 år ago | 1

I have an excel file with multiple sheets and each sheet contains numbers and words. How can I upload the file so each sheet can be read and the values within it can be analyzed?

MATLAB function 'xlsread' will suit your use case. Check the documentation in following <https://in.mathworks.com/help/matlab/re...

mer än 5 år ago | 1

| accepted

loadlibrary works on 32 bit but not 64 bit MATLAB

The "is not a valid Win32 application" error usually means that you are attempting to load a 32-bit DLL using 64-bit MATLAB. Che...

mer än 5 år ago | 0

What is this hds folder missing in 2017a?

HDS toolbox is not a product of MathWorks. Its a third party submission. More information about this toolbox can be found here: ...

mer än 5 år ago | 0

| accepted

Implementing Markowitz Portfolio Optimization in Matlab

As given in the example in the following link: <http://in.mathworks.com/help/optim/ug/quadprog.html> H would be a nxn matr...

mer än 5 år ago | 0

Editing FITS file header

The following file exchange submission will suit your purpose: <https://in.mathworks.com/matlabcentral/fileexchange/28055-mfi...

mer än 5 år ago | 0

Is it possible to manage MatLab and Simulink remotedly?

The best way is with VNC. You can start a VNC server on the host machine, and then access this desktop remotely from anywhere wi...

mer än 5 år ago | 0

| accepted

How to fit a curve to the following 3D data?

If you have the <https://in.mathworks.com/products/curvefitting.html Curve Fitting Toolbox> , you could try <http://in.mathworks...

mer än 5 år ago | 1

Making visual stimuli code

You can make use of inbuilt app 'imview' that comes with Image Processing Toolbox. Check the following documentation and try th...

mer än 5 år ago | 0

In Simscape Driveline, any use of a clutch causes the solution to not converge

The following points may help you: 1) If you encounter convergence failures or abrupt driveline state (velocity) changes at o...

mer än 5 år ago | 0

Is there a good example to learn how to implement a discrete time controller on a analog plant?

<http://ctms.engin.umich.edu/CTMS/index.php?example=MotorPosition§ion=SimulinkControl#9 Here> is a good example for your use...

mer än 5 år ago | 1

| accepted

I keep getting an error when trying to run the following command from the MATLAB Fundamentals class (pg 6-11 in course notes). Doesn't writetable overwrite a file if it already exists?

Try the following solution that worked for people with same issue: After creating the two above-named folders, the MATLAB s...

mer än 5 år ago | 1

| accepted

Error starting desktop r2017a on mac os Sierra (Solved)

Remove your preferences directory so MATLAB will recreate it when you launch MATLAB: Open the Finder, the blue face on the do...

mer än 5 år ago | 1

After generating MATLAB DLL, how do you implement in C++?

If you are using the MCR to utilize the DLLs, please add the directory: [MCR root]\extern to your Visual Studio project pa...

mer än 5 år ago | 0

Clean-up after repeated crashes

There are several possibilities that could be causing your simulation to run slowly: 1. You have a MATLAB Function Block - Wh...

mer än 5 år ago | 1

One user (of many) is having trouble with a distributed executable. He is getting the message that he can't find version 8.4 of the MCR but he has verified that it is installed. See screen shots below.

There is a bug in MATLAB Compiler R2014a in the way the MCR entry in the PATH is handled. R2014a cannot handle a trailing backsl...

mer än 5 år ago | 1

Is there a raspberry pi zero support in the raspberry support package?

Unfortunately Simulink Support Package for Raspberry Pi Hardware does not support Raspberry pi zero.

mer än 5 år ago | 0

read large csv File and export specific Values

It is my understanding that you want to read large csv-file with mixed datatype and export specific values. You can do this b...

ungefär 6 år ago | 0

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

ungefär 6 år ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

ungefär 6 år ago