Community Profile

# Soma Ardhanareeswaran

### MathWorks

Active since 2016

I'm a Application Support Engineer at MathWorks and have a Masters in Computer Science.

All

#### Content Feed

View by

Solved

Given a and b, return the sum a+b in c.

plus de 5 ans ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus de 5 ans ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

plus de 5 ans 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:...

plus de 5 ans ago

Matlab crashs on startup Ubuntu 16.04
Looks like the Graphics drivers are not up-to-date. Try updating the drivers and observe if the error persists. You can also ...

plus de 5 ans ago | 1

| accepted

How to integrate a Pen class into a Turtle
'setPen' is a member function and not static. Invoke it using the object of the Turtle3 class.

plus de 5 ans ago | 0

Write a function that takes an input argument n, checks whether or not n is positive, and then provides the sum: 1 + √2/2! + √3/3! + ⋯ + √n/n!.
The 'while' statement example in the following link is a good starting point - <https://www.mathworks.com/help/matlab/matlab_pro...

plus de 5 ans ago | 0

fplot() runs Documentation Example with errors
Looks like you have a custom file called 'box.m' that is masking the original 'box.m' provided by MATLAB. Run the following c...

plus de 5 ans ago | 1

| accepted

Matlab compiler runtime environment issue
The following directories need to be in the LD_LIBRARY_PATH environment variable: # \$MCR_HOME/v81/runtime/glnxa64 # \$MCR_HOM...

plus de 5 ans ago | 0

How to write a .xls file from spectrum Analyser data
Refer to <https://www.mathworks.com/help/matlab/ref/xlswrite.html>

plus de 5 ans ago | 0

| accepted

How do I save a histogram after I extract the LBP feature?
You can save the workspace variables and retrieve it into MATLAB using the 'save' and 'load' commands. Refer to <https://www.mat...

plus de 5 ans ago | 0

Is it possible to evaluate several observation with one mnrval call?
The sizes of B and X may be incompatible. Please make sure that X contains n observations for p predictors. It is not possibl...

plus de 5 ans ago | 0

Will pre-triggering ever come back to the data acquisition toolbox?
I work for MathWorks and I have forwarded this feedback to the appropriate product team. Our developers are aware of the reques...

plus de 5 ans ago | 0

| accepted

How to exclude the Java virtual machine from astand-alone application?
Which version of MATLAB are you using to compile the standalone application? Can you try creating a standalone with the -nojvm ...

plus de 5 ans ago | 0

An error when plot horizontal error bar
The horizontal errorbar is a feature introduced in MATLAB R2016b and is not supported in older versions of MATLAB.

plus de 5 ans ago | 0

Install MinGW-w64 compiler without Add-on explorer
You can specify the proxy settings in MATLAB preferences. Refer <https://www.mathworks.com/help/matlab/matlab_env/web-browsers-a...

plus de 5 ans ago | 0

Why is my editor slow?
You can increase your Java heap space and observe if the error persists. Refer to - <https://www.mathworks.com/help/matlab/matl...

plus de 5 ans ago | 0

TMTOOL does not find GPIB interface
Try to close NI-MAX and access the device only from MATLAB. Sometimes, the device may not get recognized if its being used by an...

plus de 5 ans ago | 0

videoinput issues for supported format between matlab environment and standalone applications with matlab run time

plus de 5 ans ago | 0

imresize error. "undefined function 'imresize' for input arguments of type 'uint8'." I have the image processing toolbox, but I cannot use its functions.
The following command will list the set of toolboxes in your MATLAB setup 1. for MATLAB versions R2012b and later: >> ve...

plus de 5 ans ago | 1

Read from a serial port and VISA instrument at the same time
If both your data come with time series data, then you can synchronize them after collecting the data. Refer to # Item one ...

plus de 5 ans ago | 1

| accepted

Problem accessing Excel files through xlsread
The error observed might be related to spaces in the file path. Try placing the file in another directory without any spaces and...

plus de 5 ans ago | 0

Zoom while image axis 'Clipping' is 'off'
In the case of 'imshow' there is an axes created to display the image which does not get affected by the clipping/panning that i...

plus de 5 ans ago | 0

I honestly have no clue where to start with this much help is needed and I really can't figure out how to put an "if" statement inside a switch statement?
Semantically, 'switch' statement is a collection of if-else-if statements. But if you still want an 'if' inside a switch case, h...

plus de 5 ans ago | 0

Why does gpuDevice take several minutes to complete?
The first time in the MATLAB session, 'gpuDevice' would search for available GPU devices and store the information for that sess...

plus de 5 ans ago | 0

input command makes figures irresponsive in Matlab R2016a
This is a bug in MATLAB R2016a. Please refer to <https://www.mathworks.com/support/bugreports/1379371>

plus de 5 ans ago | 0

| accepted

It is not possible to remove file from Compiler Project in 2016b
I agree with Adam, the Dependency Analysis step would pick up the dependent files that are found in the current directory or fro...

plus de 5 ans ago | 1