# Saurabh

### NIT Durgapur

Last seen: 1 month ago Active since 2023

Followers: 0   Following: 0

Programming Languages:
C++, C, MATLAB, HTML, CSS
Spoken Languages:
English, Hindi
Pronouns:
He/him

All

#### Feeds

View by

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

2 months ago

Solved

Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

2 months ago

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

2 months ago

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

2 months ago

Solved

Return area of square
Side of square=input=a Area=output=b

2 months ago

Solved

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

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

2 months ago

Solved

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

2 months ago

Simulink keyboard shortcut for "save as"
Hi AI, As per my knowledge there is no direct method to set up the Custom Shortcut Keys as we have in MATLAB, but I did find a ...

2 months ago | 0

Setting Datatips in Standalone MATLAB-App
Hi Nico, I understand that you want to have DataTip button available for your standalone application as well. To manage the a...

2 months ago | 0

App Designer: prevent string truncation (DropDown, etc..)
Hi Covfefe, I understand that while migrating the app from R2018b to R2024a, the text got clipped, which is not required. ...

2 months ago | 0

sqlite ignore project path?
Hi Simon, I understand that you have added your folder to the MATLAB path and want to know if 'SQLite’ function can search ...

2 months ago | 0

| accepted

how get information moving mouse on line plotted
Hi Luca, I understand that you want to display the information about the plotted lines on the Axes. To show the legend of ...

2 months ago | 0

How to get Alpert multiwavelets?
Hi Stephan, As per my understanding, you want to have the Alpert multiwavelets of any order, say 'K ‘, and you want a set ...

2 months ago | 0

how to enable smlink in macos

2 months ago | 0

How can I extract real time data (.csv or .text format) from my Simulink file running in simulink desktop real time?
Hi Amardeep, I uderstand that you want to extract the data into a file (.text file and .csv file) from Simulink desktop real...

2 months ago | 0

starting condition of feedback scheme in simulink
Hi Valeria, It seems you want to have a different error condition at t = 0, and other than t = 0, the error condition goes as...

2 months ago | 0

passing parameter values beween a GUI and other scripts
Hi Francois, It seems like you are trying to export the parameter values between the GUI and another workspace, say the bas...

2 months ago | 0

matlab comsol and matlab appdesigner
Hi Young, Yes, MATLAB App Designer and COMSOL Multiphysics can indeed be used together, allowing one to create custom graphic...

2 months ago | 1

autocorrelation plot without the grid of lines
HI EKTOR, Seems to me that by default the plot is having horizontal and vertical lines in, which iIs not required here as per ...

2 months ago | 0

How to embed Google maps into a GUI
Hi ZHOU, It seems like you are looking to plot a Google Map on the background of the figure. While going through the MathWork...

4 months ago | 0

Why does my ode45 return a solution with the first values as zero despite I supplying non-zero initial conditions?
Hi Daniel, It seems like you were expecting to have a non-zero initial value, but it appears you received a zero initial val...

4 months ago | 0

How do I replace the reference model in the module "Deep Learning Toolbox/Shallow Neural Networks/Control Systems/Model Reference Controller"?
Hi 文凯 醋, I am not very sure what sort of problem you are having referencing a model. You can simply click on the browse butto...

4 months ago | 0

Question about Relative Path Variable definitions
Hi Kevin, I can figure out that you need to set a relative path to the project root for a hardware configuration file. To ad...

4 months ago | 0

S-Function Builder changes entries after closing and re-opening
HI Alexander, Seems like S-function builder automatically adds a new line at any whitespace when something is added to the "...

4 months ago | 0

| accepted

How to get 3 different plots in 1 plot axes using drop down button followed by analyse button in GUI?
Hello Purna, It is unclear which approach was utilized for plotting the graph. In order to assist, here is an overview of th...

4 months ago | 0

Frequency dependent components in simulink or simscape
Hello, Manaswini I can figure out is that there is a circuit with a frequency-dependent capacitor and a frequency-depe...

4 months ago | 0

Why are initial input values zero for Interpreted MATLAB Fcn block?
Answer HI Jon, It seems like when the provided Simulink model is executed, the first output you get is always zero, regardle...

4 months ago | 0

| accepted