photo

Rohit Kudva

MathWorks

Last seen: 4 years ago Active since 2015

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

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

5 years ago

Solved


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

7 years ago

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

7 years ago

Solved


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

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

7 years ago

Answered
How can I open a GUI inside a GUI?
Hi Christian I do not think it is possible in MATLAB to embed a GUI within a GUI. The best workflow for your use-case would b...

8 years ago | 0

Answered
MATLAB code integration in LabView
Hi Abhijit I doubt MATLAB code can be directly used in LabView. You may get a better suggestion on this workflow on NI forum....

8 years ago | 0

Answered
Running GUI calling Simulink on a computer without Matlab installed on it
Hi Filippo MATLAB Compiler allows one to compile their MATLAB code to create a standalone executable that can be distributed ...

8 years ago | 0

Answered
matlab change my environment variable $PATH, Can I remove them from $PATH?
Hi Hao, Removing those paths from the system's PATH environment variable should not ideally break anything in MATLAB. But wit...

8 years ago | 0

| accepted

Answered
Matrix is close to singular or badly scaled in SPS
Hi Tony, The reason could be that the model is a very stiff system. If it contains a Universal Bridge snubber, you may want t...

8 years ago | 0

| accepted

Answered
I get an error saying 'The type initializer for 'MathWorks.MATLAB.NET.Utility.MWMCR' threw an exception.' when trying to use matlab dll in visual studio
Hi Nug, Ensure that you have the MCR version corresponding to MATLAB 2012b installed. You can check that from the following l...

8 years ago | 0

| accepted

Answered
How to perform several acquisition with different sample rate ?
Hi Vincent, I understand that you are currently using NI cDAQ 9174 chassis with NI 9234 module for accelerometer and a NI 921...

9 years ago | 0

Answered
Legend position change after printing
Hi Junyi, I work for MathWorks and I have forwarded this feedback to the appropriate product team. Regards, Rohit

9 years ago | 0

Answered
Generate stl file for random spheres
Hi SS The equations for a sphere centered at (m,n,p) with radius 'r' in spherical coordinate system will be x = m + r*co...

9 years ago | 1

| accepted

Answered
How to determine output dimension of refproparray
Hi Fotis, 'refproparray' doesn't seem to be a MATLAB function but to answer your question in general, you can use the 'size' ...

9 years ago | 0

Answered
Can't apply Copy options to multiple figures
Hi Laura, Which version of MATLAB are you using? This is a known bug with MATLAB R2014b and unfortunately there is no possibl...

9 years ago | 0

Answered
Axes component name as an argument to a function
Hi Jason, You can pass the 'axes' object to a function and plot on that specific axes function [high,low]=Autoscaleimage...

9 years ago | 0

| accepted

Answered
Can't resolve dependencies for Java library.
Hi Claas, I understand that you have compiled your MATLAB function to a JAR file which you using in a Java driver application...

9 years ago | 0

Answered
MWArray and C#: Returned Handle to Matlab figure is null in C#-Code
Hi Christian, I understand that you have compiled a MATLAB function (that opens a plot/figure and returns the handle to this ...

9 years ago | 0

Answered
engOpenSingleUse() crash on second call
Hi Jon, I understand that when you used 'engOpenSingleUse' function the second time after closing the previous instance of MA...

9 years ago | 0

Answered
Video feed will not start() in my axes object, but works with preview().
Hi Lisa, I understand that you are unable to view any image on your GUI. I looked into your code and one of the possible reas...

9 years ago | 0

Answered
Compiling mex/cpp on linux cluster with g++ 4.7
Hi Phil, I understand that you are unable to compile your CPP file using GCC compiler version 4.7 which is supported by MATLA...

9 years ago | 2

Answered
Does Matlab Release 2014b include ghostscript? If so, can a deployed executable use ghostcript?
Hi Tommie, MATLAB ships with its own version of ghostscript. The ghostscript files are located at [matlabroot\sys\extern\{arc...

9 years ago | 1

Answered
Why Matlab executable cannot load .NET library? The DLL path is correct.
Hi Jingliang, One possible reason can be that while compiling the code to create a standalone executable, you may have not ad...

9 years ago | 1

Answered
MEX will not find Visual Basic
Hi Susan, As Geoff mentioned, if will be really helpful if you could post the output of >> mex -setup -v One possi...

9 years ago | 0

Answered
problem to stop a video capture
Hi Benigno, One possible issue may be memory limitations as you are trying to grab frames from multiple camera's at the same ...

9 years ago | 0

Answered
How to generate a square lattice structure.
Hi Subhashish, I am not sure about your use case for developing this square lattice structure. Do you want it for some kind o...

9 years ago | 0

Answered
MATLAB Installer Crashes R2014b and R2015a on Mac Pro (late 2013)
Hi Nicholas, This crash can occur due to several reasons. In order to troubleshoot this issue, you can try to do the follow...

9 years ago | 1

Answered
Saving plot as pdf in loop
Hi Elise, The ' <http://www.mathworks.com/help/matlab/ref/sprintf.html sprintf> ' function is used for formatting certain inp...

9 years ago | 0

| accepted

Answered
Why is ncread reading in times which are wrong by a year?
Hi, I executed the code you provided and I was able to reproduce this issue. This seems to be a bug in MATLAB. I work for Mat...

9 years ago | 0

Load more