Community Profile

photo

Kshitij Chhabra

Last seen: 11 months ago Active since 2020

Statistics

  • 6 Month Streak
  • Knowledgeable Level 2
  • Revival Level 2
  • First Answer

View badges

Content Feed

View by

Answered
How to show the output of a function when you call the code in another file?
Hi, You can try returning the answer as a structure and further using it down your code. The documentation of struct can be fou...

2 years ago | 0

Answered
Run an exectuable (deployed from a differential eq system in Simulink) for one timestep, then give new input (iteratively)
Hi, You can look at the documentation to get insights of exporting Simulink Model as C code. Further you can use this C code as...

2 years ago | 0

| accepted

Answered
Green's theorem
Hi, You can check the MATLAB Documentation to get examples on how to compute Line Integrals. Hope it helps!

2 years ago | 0

Answered
Fourier series and transform of Sinc Function
Hi, You can try leveraging the Curve Fitting Toolbox offering from MATLAB to get insights on how to plot a curve over the bar c...

2 years ago | 1

Answered
How can I install the optimization toolbox under Linux.
Hi, You can install the latest MATLAB updates, additional toolboxes, and add-ons in the official MATLAB Docker container image....

2 years ago | 0

Answered
Programatically configure arduino in standalone application
Hi, For a clean installation, the IDE Path should be automatically configured when you install the Arduino Support Package. You...

2 years ago | 0

| accepted

Answered
Making a movie and saving figures
Hi, You can try exploring the VideoWriter function to convert your plots to a video. You can check to the documentation here. ...

2 years ago | 0

Answered
Can you express it like walking in X, Y, Z coordinates?
Hi, From my understanding, you want to provide (x,y,z) position as inputs to the joint blocks and visualise the motion. To achi...

2 years ago | 1

Answered
Recursive Formula with integration
Hi, You can use the "integrateByParts" function provided in MATLAB. You can get the link for documentation and some examples h...

2 years ago | 0

Answered
Is anyone familiar with bode block of Simulink?
Hi, You can check the documenation for Bode Plot Block here to get a better idea.

2 years ago | 0

Answered
i couldn't delete the previews version of matlab 2020b in ubunto
Hi, From my understanding this issue might have been caused due to lack of administrative permissions while deleting the account...

2 years ago | 0

Answered
Need to change the license from old computer but computer was reimaged. How do I change it to another user/computer?
Hi, You can head over to the License Center on the MathWorks website and perform the deactivation process. After selecting the...

2 years ago | 0

Answered
How can i make a matrix with variables from workspace.
Hi Marcais, As Stephen mentioned in one of the comments, creation of numbered variables would be an in-efficient approach. Howe...

2 years ago | 0

Answered
MATLAB was unable to launch your System web browser (eg:web('https://github.com'))
Hi lijiong, I understand that you are trying to use the "web()" function to access a given URL but are trying to getting an err...

2 years ago | 1

| accepted

Answered
Again Importing Driving Scenario Code in scenarioDesigner along with sensor data.
You can check the link to documentation for learn how to modify driving scenario programatically.

2 years ago | 0

Answered
Creating a video from a structure array field
Hi, From my understanding you are trying to convert a structure array field into a video using the "writeVideo" function. You n...

2 years ago | 1

| accepted

Answered
AR model with one day lag
Hi, You can check the documentation for Autoregressive Models which also has certain examples to get you started.

2 years ago | 0

Answered
How do I get the distance between the point and the hyperplane in MATLAB 2021a fitcsvm?
Hi Sahil, From my understanding you are trying to find the distance of a particular data point from the hyperplane. I can recom...

2 years ago | 0

Answered
Bicubic Interpolation Algorithm of imrotate
Hi Leoluca, From my understanding of the question, you are trying to find the exact code which is used to perform the bicubic...

2 years ago | 2

| accepted

Answered
Failed to Export Simulink Model From R2021a to R2018a
Hi, from my understanding you are trying to export your Simscape R2021a model to R2018a. As a result of library re-structuring i...

2 years ago | 0

Answered
Just need a quick answer on whether this function and script make sense or if I need to make it more clear so that it is easier to understand
You can check the following link to learn some of the best practices for writing comments in your code

2 years ago | 0

Answered
Find Best Distribution fit for data
From my understanding, you are trying to evaluate and find that which distribution fits well in your data. You can check the fol...

2 years ago | 0

Answered
can not figure this out?
Hi, From my understanding you need to take variable amount of 1x3 array inputs from the user and are trying to store them. I've...

2 years ago | 0

Answered
I can't execute install file on lubuntu 20.04.3
Hi, To my understanding you are trying to install MATLAB on Ubuntu 20.04 and have trouble running the install "install.sh" file...

2 years ago | 0

Answered
Can I add an audio stream to a movie?
Hi Marcelo, VideoWriter is great for creating video files, Howerver, adding audio streams is currently not supported through it ...

2 years ago | 0

Answered
STM32 Nucleo board save to workspace
Hi, I'm not very sure about why you are facing this issue, therefore, could you please provide a detailed explanation along wit...

2 years ago | 0

Answered
How to use (convert) arduino IDE code in Simulink?
Hi, I'm assuming that you want to connect the load cell sensor to your Arduino board and then use serial communication and acce...

2 years ago | 0

Answered
can anyone please tell me ObjectDetections in Driving Scenario Designer ( Attached) what information gives us?
Hello, ObjectDetections gives the output as a structure corresponding to the number of generated detection as a cell array of ...

2 years ago | 0

Answered
PX4 - Simulink quaternion outputs are NAN after applying integration
From my understanding, you are not able to get the desired results because of NaN outputs from PID controller as a result of pas...

2 years ago | 0

Answered
deploy raspberry pi error
From my understanding, you are trying to deploy the function "simpleSum()" on a Raspberry Pi board to use it as a standalone fun...

2 years ago | 0

| accepted

Load more