Community Profile

# Soumya Saxena

### MathWorks

Active since 2016

I am an Application Support Engineer,

#### Content Feed

View by

Is there a 'iscloud' (ispc equivalent) command in MATLAB Online?
Please refer to this link: <https://www.mathworks.com/help/matlab/ref/is.html> There is no function analogous to ispc accordi...

nästan 5 år ago | 0

How to create a deployed MATLAB application providing a COM interface?
If you are not using MATLAB Runtime and are instead using installed MATLAB , then you need to use MATLAB engine: <https://www...

nästan 5 år ago | 0

Loop my code until c vector is zero or less
Hi, You may consider the following link: <https://www.mathworks.com/matlabcentral/fileexchange/30481-simple-example-of-the...

nästan 5 år ago | 0

How to Use "Generate Maximally Perceptually Distinct Colors" Function?

nästan 5 år ago | 0

| accepted

Hi everyone, hopefully can you help me with my problem. I need to run my simulation for different "Driving cycles". Each one have a different duration. Ist there anyway to adapt the duration time according to the driving cycle?
Consider the following file exchange link: <https://www.mathworks.com/matlabcentral/fileexchange/46777-driving-cycle--simulin...

nästan 5 år ago | 0

Finding Common area under some polynomial curve
Please consider using "trapz" function : <https://www.mathworks.com/help/matlab/ref/trapz.html>

nästan 5 år ago | 0

I would like to use Matlab 2014a to open a protected windows explorer folder by signing in as a specified/defined user (this user is different from the windows account user). Is this possible?
You may consider using the following command to open a folder : [~, userdir] = system('echo %USERPROFILE%') Please also no...

mer än 5 år ago | 0

How would I code the trapezoidal rule and simpsons rule for this question with MATLAB. The problem is that the upper y limit is 0.5+0.5x and this is causing problems with my code.
Please consider using the "trapz" function: <https://www.mathworks.com/help/matlab/ref/trapz.html> Also consider the examp...

mer än 5 år ago | 0

How do i make a line of datapoints between 2 points on map, and use their index for later.
You compute the indexes of the values in X that corresponds with the x-values in A. You may consider using scattered interpolati...

mer än 5 år ago | 0

| accepted

How do i make a line of datapoints between 2 points on map, and use their index for later.
I understand that you want to compute the ice thickness using the third and fourth column. Please let me know why you are perfor...

mer än 5 år ago | 0

Make 2D markers look 3D
You may create small balls using a "sphere" as follows : <http://www.mathworks.com/help/matlab/ref/sphere.html?searchHigh...

mer än 5 år ago | 0

I understand that you would like to include a threshold line on real time plots. If you are using a scope and want to add a lin...

mer än 5 år ago | 0

How do I use matlab to simulate airflow around an airfoil?
Please note that since this is related to a file exchange submission, it is recommended that you contact the author of the submi...

mer än 5 år ago | 0

How to import a *.prn file into matlab, which contains time and date stamps along with various columns of data.
You may convert date stamps to seconds as follows: t='14:35:59.812'; [Y, M, D, H, MN, S] = datevec(t); H*3600+MN*60+S Yo...

mer än 5 år ago | 0

How do we distribute the frequency range for the discrete fourier transform of arbitrary discrete values of a signal?
You may find more details about the Discrete Fourier Transform at the following link: <https://www.mathworks.com/help/signal/...

mer än 5 år ago | 0

How to plot motion analysis graphs using matlab?
I understand that you want to plot a unit step movement. The "heaviside" may be useful. Please refer to the following documentat...

mer än 5 år ago | 0

How should I generate a rectone from the following Matlab code
To generate rectangular pulse, you may use the "rectangularPulse" function in symbolic Math Toolbox. The following documentat...

ungefär 6 år ago | 0

How should I generate a Matlab code for tenttone using the following information
I understand that you want to plot triangular wave forms. You may refer to the "sawtooth" function to plot a triangular wave. Pl...

ungefär 6 år ago | 0

What is MATLAB convention for the direction of normal vector of a triangulated mesh?
The orientation of the normal is implicitly defined by the ordering of the vertices in a triangle. For all triangulations genera...

ungefär 6 år ago | 2

Call matlab function from python coroutine
I understand that upon calling the matlab function from the python module, the program hangs. Could you share the code that is ...

ungefär 6 år ago | 0

how to run thousands of regressions at the same time
In order to perform regression on every column of b, there are 2 workarounds: 1. You may loop through each column of b,and tr...

ungefär 6 år ago | 0

Does anyone know video lessons about events and listeners?
I understand that you want to know about video lessons on Events and Listeners. For video lessons that introduce this concept, y...

ungefär 6 år ago | 0

How do I generate links in documentation?
I understand that you want to know how you can generate links to the help text for another class from a class. It is possible to...

ungefär 6 år ago | 0

regarding phase compensation?
I understand that you are trying to do phase compensation. Please note that a shift in time domain is equivalent to multiplicati...

ungefär 6 år ago | 0

| accepted

How to plot the function
In order to plot a function or an expression, you may use the " *fplot*" function. More details are given in the following link:...

ungefär 6 år ago | 0

Calculate the unknowns values that satisfy determinant of matrix equals to zero
I understand that you would like to determine the values of "w" that satisfy the equation, (-w²M + C iw + K)=0. However, in orde...

ungefär 6 år ago | 0

Looping object arrays that are properties of other objects - what level to implement them?
I understand that you would like to know the difference between the 2 methods of updating instances of a a class. Both methodolo...

ungefär 6 år ago | 0

How to show the regression plot in a figure?
I understand that you would like to plot a regression plot for the x and y values specified. If y is independent variable and x ...

ungefär 6 år ago | 2