Answered
Select single, multiple and all checkboxes for performing tasks - Matalb App Designer
Hi Ganesh, I understood that you want to make actions corresponding to selections in the CheckBoxTree. You can achieve this b...

3 månader ago | 0

Answered
Use stateflow to control variant subsystem
Hi, The variant subsystems don't work that way, You can achieve this by generating events from the states of the STATEFLOW c...

4 månader ago | 0

Answered
How do I write a function that inputs seconds and outputs the number of days, hours, and mins?
Hi, Using Format property of the duration solves the issue tim=seconds(94255) tim.Format='dd:hh:mm:ss' Refer this for mo...

4 månader ago | 0

Answered
Using own custom "rt_main.c" with system target file grt.tlc in Simulink Coder
Hi Konstantinos, I Understood that you want to have custom rt_main.c file in your project. This option is available in the Em...

4 månader ago | 0

Answered
How to apply a for loop in all tables with common indexing
Hi Usene, Follow the steps in order to achieve the solution 1)Use who and eval to loop over the workspace variables 2)Insid...

4 månader ago | 0

Answered
If statement gives wrong result
Hi Xinjie, There may be several reasons for this issue 1)For example if you wrote the code that is going to make changes to ...

4 månader ago | 0

Answered
Error Array indices must be positive integers or logical values. when doing euler's method.
Hi Kaitlyn, The error you are facing is due to accessing the zeroth index of the vector t=[14 6 3] % creating a simple vecto...

4 månader ago | 0

Answered
How to make a static image dynamic in MATLAB App Designer?
Hi, This can be achieved by pausing the execution for some time by using pause, steps I followed are as follows 1)Add an ima...

4 månader ago | 0

Answered
How to retrieve tables from a cell array
Hi Osama, I understood that you want to know 1)how to loop over all cells in the cell array(results) 2)how to loop over a...

4 månader ago | 1

| accepted

Answered
How to plot multiple Loops and draw data lables for legend
Hi, I understood that you want to 1) plot every row of matrix C against matrix B 2) And label every row of matrix C indivi...

4 månader ago | 1

| accepted

Answered
Need help plotting error bars to my data on a line plot
Hi Ryan, The error is due to the third argument of the errorbar function is not of the same size as the first argument. The...

5 månader ago | 0

| accepted

Answered
. How do I Change the value in The Edit FIeld Box ( such as- Sample No : 01 , Sample no :02... so on) utpo 10 samples, by clicking on pushbutton.?
Hi Shaik Asif, Customizing call back functions and startupFnc helps to achieve the above task, 1)Edit the startup funct...

5 månader ago | 0

Answered
How to set matlab to open all figure windows as floating windows
Hi Ramesh, There is a way where you can arrange the figures using autoArrangeFigures. Go through the above link, download, a...

5 månader ago | 0

| accepted

Answered
Will not publish to pdf
Hi Kevin, It is likely there is a special character somewhere in your file. If you are able to run the file without any issue...

5 månader ago | 0

Answered
Taking expression input and plotting it within an interval using app designer
Hi Aditya, The error(Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a...

5 månader ago | 0

| accepted

Answered
Units in grating effect code
Hi Dylan, let's take a variable "d"(distance), d=3000; %it is stored as double by default(No additional info about any units...

5 månader ago | 0

Answered
Can you pass a bus containing a string into a vector concatenate block?
Hi Mark, To convert the bus containing a string and numerals as elements 1)give bus signal as input to bus selector block...

5 månader ago | 0

Answered
How to assign a vector with predefined data?
Hi fatema, I understand that you want to create a vector with predefined data instead of using zeros, ones, rand functions. ...

5 månader ago | 1

| accepted

Solved


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

5 månader ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

6 månader ago

Solved


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

6 månader ago

Solved


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

6 månader ago

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

6 månader ago

Answered
App Designer not Saving New Codes
Hi DARLINGTON ETAJE, We are investigating the sources for the cause of not saving new code and even some times the save may be ...

6 månader ago | 1

| accepted

Answered
How do I perform sobel filtering in multiple detected circles (using imfindcircles, viscircles) exclusively ?
I understood that some of the circles have discontinued edges when using “imfindcircles” function so that you cannot exclusivel...

6 månader ago | 1

| accepted

Solved


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

6 månader ago

Solved


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

6 månader ago

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

6 månader ago

Solved


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

6 månader ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

6 månader ago

Load more