photo

Swarooph

MathWorks

Actif depuis 2011

Followers: 0   Following: 0

Message

Professional Interests: Simulink, Physmod, Control Systems, Automotive, Robotics.
Growing Interests: Computer Vision, Image Processing, Machine Learning.

Although I work for the MathWorks, all my comments, answers and opinions expressed here are mine alone and do not necessarily reflect those of MathWorks, past or present.

Statistiques

All
  • First Review
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
Optimization Error for car model
The following seems to fix your problem but I don’t know if this is what you really wanted to do: Set FCMin to “Minimize ...

plus de 5 ans il y a | 0

Réponse apportée
How to extract nearest pixel value [roi] by selection of reference pixel on a image?
Use the <http://www.mathworks.com/help/images/ref/impoint.html?s_tid=doc_ta#responsive_offcanvas *|impoint|*> function. Examp...

plus de 7 ans il y a | 0

Réponse apportée
Applying a Moving average function smooth
You can use the <https://www.mathworks.com/help/matlab/ref/movmean.html *|movmean|*> function and set the <https://www.mathworks...

plus de 7 ans il y a | 2

Réponse apportée
What's the difference between VideoReader and vision.VideoFileReader?
One primary difference I can see is <https://www.mathworks.com/help/vision/ref/vision.videofilereader-class.html *|vision.VideoF...

plus de 7 ans il y a | 4

| A accepté

Réponse apportée
Why does Simulink model data plot/recording to workspace variable and scope dispay reset after 1000 data entry points?
Couple of things to try. Scope has a limit data points to last option. Uncheck this in the Scope configurations. <</matlab...

plus de 7 ans il y a | 0

Réponse apportée
What does plotStyle denotes in a structure logged from Scope?
Looks like it is used internally to convert between different types of logged data from the documentation page <http://www.mathw...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
How to use a For iterator
Copy/pasting helpful comment as an answer: Note that there are TWO types of FOR subsystems. According to the documentation: ...

plus de 7 ans il y a | 0

Réponse apportée
How to create a lookup table with two inputs and one output?
Have you looked at the lookup table blocks? Documentation <https://www.mathworks.com/help/simulink/ug/lookup-tables-block-librar...

plus de 7 ans il y a | 0

Réponse apportée
How to change the color of a graph only in a particular section?
<https://www.mathworks.com/matlabcentral/answers/3368-how-to-change-the-color-of-a-graph-only-in-a-particular-section?s_tid=answ...

plus de 7 ans il y a | 0

Réponse apportée
How to Enhance Image edges after segment on Binary Image
The simplest answer is to try using the |edge| function in the Image Processing Toolbox. Here is the <https://www.mathworks.com/...

plus de 7 ans il y a | 0

Réponse apportée
How to open a Simulink Scope without the model
You can use the |open_system| command. For e.g. in your case: open_system('model/Scope') Doc on the command <https://www...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Sampling dataset into training(70%) and validation(30%) data
If you have the Statistics and Machine Learning Toolbox, |cvpartition| function is the easiest way to do this. Take a look at th...

plus de 7 ans il y a | 0

Réponse apportée
Starting with a grayscale image, how can I colour a certain pixel based on its x,y coordinates?
Take a look at the question and answer <https://www.mathworks.com/matlabcentral/answers/232344-change-grayscale-pixel-color-by-x...

plus de 7 ans il y a | 1

Réponse apportée
How to find the position of an object by comparing the reference image with the object alone and test image with the extra background objects
There might be several ways to do this. A straight forward way I could think of is to use the template matching algorithm in the...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Need help receiving accelerometer data through an I2C connection in MATLAB.
Have you looked at <http://www.mathworks.com/help/supportpkg/arduinoio/ug/measure-temperature-from-i2c-device-on-arduino-hardwar...

plus de 7 ans il y a | 0

Réponse apportée
Where do I download the examples introduced in the "Simulink Design Optimization Getting Started Guide"???
They are all shipped with the product itself. So if you have an installation of MATLAB with SDO, just follow the steps in the gu...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
I am studying object detection using circular hough transform and I could not understand why this part of a code gives error "??? Undefined function or method 'circle_hough' for input arguments of type 'double'." Can you please figure out?
*|circle_hough|* doesn't seem like a MathWorks developed function. There is a file exchange entry you might want to download to ...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
simulink add_block fails for 'built-in/Transfer Fcn'
Using block names like 'Transfer Fcn' works only if you use the full block path as follows: add_block('simulink/Continuous/...

plus de 7 ans il y a | 0

Réponse apportée
Save Simulink subsystem output as constant
There are a couple of ways to do this based on what you feel comfortable with. 1. *Using MATLAB Function block:* Here we d...

plus de 7 ans il y a | 0

Réponse apportée
Use inputs of a user defined Matlab function block as global variables whithin the block
This documentation shows how to do this: <https://www.mathworks.com/help/simulink/ug/using-global-data-with-the-matlab-function-...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
How to save global variables in MATLAB Function (more than 2) with one Data Store Memory?
This documentation shows how to do this: <https://www.mathworks.com/help/simulink/ug/using-global-data-with-the-matlab-function-...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Matlab .m file from Simulink keeps running?
When do you want to run this MATLAB function? Only at the start once, when you load the model once, when you stop simulation onc...

plus de 7 ans il y a | 0

Réponse apportée
How do I remove initial peaks I get while differentiating a harmonic signal twice using simulink ?
Hello Utsav, Thanks for the detailed explanation! There is a fundamental difference in how you are calculating the derivative...

plus de 7 ans il y a | 0

Réponse apportée
how to use Slider Switch in simulink model ?
This block enables you to control block parameters in the model. I've made a GIF below that shows how to work with this block. (...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
How is the "vectorized gating signal" generated for a full-bridge converter block in simscape?
Yes, the documentation seems to say that here: <https://www.mathworks.com/help/physmod/sps/powersys/ref/fullbridgeconverter.html...

plus de 7 ans il y a | 0

Réponse apportée
if is possible to cancel a process if matlab take too much time to perfom the process?
Use Ctrl+C at the command prompt. Documentation here: <https://www.mathworks.com/help/releases/R2017a/matlab/matlab_env/stop-exe...

plus de 7 ans il y a | 0

Réponse apportée
Why does the "Enabled Subsystem" not work?
This is because the setting 'Output when disabled' is different for the respective output ports of the Enabled subsystems. Th...

plus de 7 ans il y a | 1

| A accepté

Chaîne


channelTest1

presque 8 ans il y a

Réponse apportée
Hi, I am a novice at matlab but i am trying to learn how to use sim powers systems. I am trying to connect a relay into one of the examples but I keep getting a red dotted line. Can anyone show me how you do this please?
You are attempting to connect Simscape blocks to Simulink blocks. This is not (always) possible. Take a look at the documentatio...

environ 8 ans il y a | 0

Réponse apportée
what is this in matlab
It looks like a block in Simulink/Simscape. You can right click on the block > Help to get more information about it.

environ 8 ans il y a | 0

Charger plus