I am an Application Support Engineer at MathWorks.

Disclaimer: Any ideas/articles/opinions here are of my own and in no way reflect that of MathWorks.

Answered

How to get norm (magnitude) of a vector the simple way?

Hi, From the documentation of norm and simplify you could find the usage of both these functions. norm would be used to calcula...

How to get norm (magnitude) of a vector the simple way?

Hi, From the documentation of norm and simplify you could find the usage of both these functions. norm would be used to calcula...

11 days ago | 0

| accepted

Answered

Change value from index number

Hi, From my understanding you are trying to replace values in second column in Data with "pks" at locsLiv as index and have res...

Change value from index number

Hi, From my understanding you are trying to replace values in second column in Data with "pks" at locsLiv as index and have res...

11 days ago | 0

Answered

triggering a pulse signal

Hi, I have tried a logic with both enable and triggered subsystems and it seems to work for your use case. I have attached the...

triggering a pulse signal

Hi, I have tried a logic with both enable and triggered subsystems and it seems to work for your use case. I have attached the...

13 days ago | 1

Answered

I can't seem to connect my voltage source (and hopefully for the same reason the rest) to the rest of my circuit but this to me looks the same as MATLAB's Colpitt's Oscillator? TechnicalQuestion

Hi, Looks like the inductor, capacitor and resistor you are using are from the RF Blockset which is why they are unable make co...

I can't seem to connect my voltage source (and hopefully for the same reason the rest) to the rest of my circuit but this to me looks the same as MATLAB's Colpitt's Oscillator? TechnicalQuestion

Hi, Looks like the inductor, capacitor and resistor you are using are from the RF Blockset which is why they are unable make co...

14 days ago | 0

Answered

Load pretrained neural networks

Hi, As the alternative you could refer the following documentation link to import pretained networks into MATLAB. This would he...

Load pretrained neural networks

Hi, As the alternative you could refer the following documentation link to import pretained networks into MATLAB. This would he...

14 days ago | 0

Answered

How can i do a loop function

Hi, From my understanding you are trying to apply an operation to every element in you array. The arrayfun function should help...

How can i do a loop function

Hi, From my understanding you are trying to apply an operation to every element in you array. The arrayfun function should help...

15 days ago | 0

Answered

How to save values changing in a loop without overwriting?

Hi, From my understanding you are trying to loop over and save every 100th element corresponding to 100th element is t. The pr...

How to save values changing in a loop without overwriting?

Hi, From my understanding you are trying to loop over and save every 100th element corresponding to 100th element is t. The pr...

15 days ago | 0

Answered

cartesian to polar form

Hi, To convert co-ordinated from x,y form (cartesian) to r,theta form(polar). The cart2pol function would help you achieve it. ...

cartesian to polar form

Hi, To convert co-ordinated from x,y form (cartesian) to r,theta form(polar). The cart2pol function would help you achieve it. ...

15 days ago | 0

Answered

Help, draw the surface

Hi, The following documentation should help you get started Surface plot - MATLAB surf (mathworks.com) Inverse cosine in radi...

Help, draw the surface

Hi, The following documentation should help you get started Surface plot - MATLAB surf (mathworks.com) Inverse cosine in radi...

25 days ago | 0

Answered

How can I show step response information?

Hi, From my understanding and taking reference from the code. The stepinfo function is working fine if you look at the characte...

How can I show step response information?

Hi, From my understanding and taking reference from the code. The stepinfo function is working fine if you look at the characte...

25 days ago | 0

| accepted

Answered

Not enough input arguments.

Hi, I have made some changes to the code to eliminate the errors you are getting. Do have a look Also added some comments wher...

Not enough input arguments.

Hi, I have made some changes to the code to eliminate the errors you are getting. Do have a look Also added some comments wher...

27 days ago | 0

| accepted

Answered

How to choose a pre-trained neural network for your image classification

Hi, From my understanding you are trying to use a pretrained model for an image classification task. In order to do that you ca...

How to choose a pre-trained neural network for your image classification

Hi, From my understanding you are trying to use a pretrained model for an image classification task. In order to do that you ca...

27 days ago | 0

| accepted

Answered

pole zero plot from value

Hi, The follwing documentation should help you in finding the transfer function and for frequency response Transfer Functions ...

pole zero plot from value

Hi, The follwing documentation should help you in finding the transfer function and for frequency response Transfer Functions ...

27 days ago | 0

| accepted

Answered

How change the font size in contour while using "showText", "on"?

Hi, The contour function doesn't have the property to change the font size directly as an argument. In order to do change the f...

How change the font size in contour while using "showText", "on"?

Hi, The contour function doesn't have the property to change the font size directly as an argument. In order to do change the f...

28 days ago | 0

Answered

How to plot the scalogram for Discrete wavelet transform?

Hi, The DWT and CWT of a Signal with a Frequency Break section of Continuous and Discrete Wavelet Analysis of Frequency Break -...

How to plot the scalogram for Discrete wavelet transform?

Hi, The DWT and CWT of a Signal with a Frequency Break section of Continuous and Discrete Wavelet Analysis of Frequency Break -...

28 days ago | 0

| accepted

Answered

How can I determine where or if a bus is used in a simulink model?

Hi, From my understanding you are trying to minimize the number of busses/signals in your model which are being unused. One sol...

How can I determine where or if a bus is used in a simulink model?

Hi, From my understanding you are trying to minimize the number of busses/signals in your model which are being unused. One sol...

29 days ago | 0

Answered

How do I trigger a DAQ session with a external digital signal (voltage)?

Hi, From my understanding the channel Id for daq1 might not be an appropriate one. I would suggest to go through the Device Inf...

How do I trigger a DAQ session with a external digital signal (voltage)?

Hi, From my understanding the channel Id for daq1 might not be an appropriate one. I would suggest to go through the Device Inf...

2 months ago | 0

Answered

ANN performance using function

Hi, The value perform function returns network performance calculated according to the net.performFcn and net.performParam prop...

ANN performance using function

Hi, The value perform function returns network performance calculated according to the net.performFcn and net.performParam prop...

2 months ago | 0

| accepted

Answered

How do I specify the limits of parameters individually while fitting?

Hi, Change the fittype statement to that of below. This should solve the error you are getting gpos=fittype(@(m,c,d,x) m.*exp(...

How do I specify the limits of parameters individually while fitting?

Hi, Change the fittype statement to that of below. This should solve the error you are getting gpos=fittype(@(m,c,d,x) m.*exp(...

2 months ago | 0

Answered

What are these files in the workspace?

Hi, "t" represents the ground truth of your data. As suggested you could choose not to plot the error. The extra variables are ...

What are these files in the workspace?

Hi, "t" represents the ground truth of your data. As suggested you could choose not to plot the error. The extra variables are ...

2 months ago | 0

| accepted

Answered

Logitech G29 Steering Wheel Read Block Error

Hi, In order to use the Logitech G29 Steering wheel read block the G29 Steering wheel should be connected to the Speedgoat Real...

Logitech G29 Steering Wheel Read Block Error

Hi, In order to use the Logitech G29 Steering wheel read block the G29 Steering wheel should be connected to the Speedgoat Real...

2 months ago | 0

Answered

specific solution in a vector field of a equation system

Hi, From my understanding you are manually trying to solve the equation. The following documentation should help you solve the ...

specific solution in a vector field of a equation system

Hi, From my understanding you are manually trying to solve the equation. The following documentation should help you solve the ...

2 months ago | 0

Answered

how to use AliasType in Matlab Function (simulink)

Hi, From my understanding you are trying to use a Alias Type my_float in your Simulink model and generate code. The correct way...

how to use AliasType in Matlab Function (simulink)

Hi, From my understanding you are trying to use a Alias Type my_float in your Simulink model and generate code. The correct way...

2 months ago | 0

Answered

Suggest some Tutorial book or pdf to learn Content Based Image and Video Retrieval with Matlab

Hi, The following link should help you getting started on this using MATLAB.Requirement would be the Computer Vision Toolbox I...

Suggest some Tutorial book or pdf to learn Content Based Image and Video Retrieval with Matlab

Hi, The following link should help you getting started on this using MATLAB.Requirement would be the Computer Vision Toolbox I...

2 months ago | 0

| accepted

Answered

Read image to trained neural network

Hi, From my understanding you are trying to input an image into a trained network. The problem I think is due to the dimensions...

Read image to trained neural network

Hi, From my understanding you are trying to input an image into a trained network. The problem I think is due to the dimensions...

2 months ago | 0

Answered

Calibrate camera to IMU

Hi, The extrinsics documentation should help to calculate the matrix. The data from the IMU and camera can be taken as argument...

Calibrate camera to IMU

Hi, The extrinsics documentation should help to calculate the matrix. The data from the IMU and camera can be taken as argument...

2 months ago | 0

Answered

how to adjust date limite on the x axis label

Hi, From my understanding you are trying to plot in the range to data the is being plotted rather than the range label you are ...

how to adjust date limite on the x axis label

Hi, From my understanding you are trying to plot in the range to data the is being plotted rather than the range label you are ...

2 months ago | 0

Answered

How to add values to an array using a while loop

Hi, From my understanding you are trying to add values into an array after each iteration of a loop. The following example code...

How to add values to an array using a while loop

Hi, From my understanding you are trying to add values into an array after each iteration of a loop. The following example code...

2 months ago | 0

Answered

Passing 2D Numpy Array into MATLAB Engine

Hi, From my understanding the following Community would be helping you to solve the problem. Converting numpy arrays in pyth...

Passing 2D Numpy Array into MATLAB Engine

Hi, From my understanding the following Community would be helping you to solve the problem. Converting numpy arrays in pyth...

4 months ago | 0

Answered

Send value of a variable from Python to MATLAB/Simulink

Hi, From my understanding you are trying to take an output value of a python script and use it in MATLAB. The following docume...

Send value of a variable from Python to MATLAB/Simulink

Hi, From my understanding you are trying to take an output value of a python script and use it in MATLAB. The following docume...

4 months ago | 0