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

6 månader 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...

6 månader 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,...

6 månader 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...

6 månader ago

Solved


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

6 månader 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.

6 månader 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 ...

6 månader ago

Solved


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

6 månader ago

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

6 månader ago | 0

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

6 månader ago | 0

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

6 månader ago | 0

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

6 månader ago | 0

| accepted

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

6 månader ago | 0

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

6 månader ago | 0

Answered
how to enable smlink in macos
Hi Deepak, I understand that you wish to use 'smlink_linksw' in MATLAB to link your 'sm_link'. Regretfully, 'smlink_linsw' ...

6 månader ago | 0

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

6 månader ago | 0

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

6 månader ago | 0

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

7 månader ago | 1

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

7 månader ago | 0

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

8 månader ago | 0

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

8 månader ago | 0

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

8 månader ago | 0

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

8 månader ago | 0

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

8 månader ago | 0

| accepted

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

8 månader ago | 0

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

8 månader ago | 0

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

9 månader ago | 0

| accepted

Answered
숫자야구 gui 만들고 싶습니다 ㅠㅠ
Hi 동진 정, It appears that you want to improve your baseball game by adding UI elements to make the experience more exciting. ...

9 månader ago | 0

Answered
App designer : Saveas save all the interface and not just the figure mentionned
Hi Bastien, So, what I have understood from your question is that you want to save the graphs of your app separately, and you...

9 månader ago | 0

Answered
using limit in differentiation
Hi Mukesh, I tried to reproduce the steps at my end and found out that the expression given by dv_dy will be discontinous at so...

9 månader ago | 0

Load more