Answered

Signal integrity toolbox examples

Hi berkay, In order to download the files mentioned, run the following command in MATLAB Online Command Window openExample('...

Signal integrity toolbox examples

Hi berkay, In order to download the files mentioned, run the following command in MATLAB Online Command Window openExample('...

mer än ett år ago | 0

Answered

Check Presence of Specified Edges in Graph

Hi Kamal, There is an error in the command that you provided, please change "Endnodes" to "EndNodes", This will resolve the e...

Check Presence of Specified Edges in Graph

Hi Kamal, There is an error in the command that you provided, please change "Endnodes" to "EndNodes", This will resolve the e...

mer än ett år ago | 0

Answered

Converting C++ to matlab

Hi, This can be achieved by acquiring basic knowledge regarding MATLAB syntax if you are familiar with C++ as mentioned by R...

Converting C++ to matlab

Hi, This can be achieved by acquiring basic knowledge regarding MATLAB syntax if you are familiar with C++ as mentioned by R...

mer än ett år ago | 0

Answered

Arbitrary transfer function in simulink

Hi Yongwei, You would need to mathematically approximate the original transfer function and express it in terms of polynomial...

Arbitrary transfer function in simulink

Hi Yongwei, You would need to mathematically approximate the original transfer function and express it in terms of polynomial...

mer än ett år ago | 0

Answered

Save mouse movements on figure to table

Hi Rosanne, I understood that you want to save the cursor co-ordinates into MATLAB workspace. In order to do that, make chan...

Save mouse movements on figure to table

Hi Rosanne, I understood that you want to save the cursor co-ordinates into MATLAB workspace. In order to do that, make chan...

mer än ett år ago | 0

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

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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 ...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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...

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

mer än ett år 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. ...

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

mer än ett år 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...

mer än ett år 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|...

mer än ett år 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 ...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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 ...

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

mer än ett år 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...

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

mer än ett år ago | 1

| accepted