Answered

Mesh plot interactive in panel

Hi Nora, When you create a GUI with GUIDE, by default it will remove the toolbar and menubar from the GUI's figure window, by...

Mesh plot interactive in panel

Hi Nora, When you create a GUI with GUIDE, by default it will remove the toolbar and menubar from the GUI's figure window, by...

4 years ago | 0

| accepted

Answered

MoneyNet connection instable and randomly lost

A much cleaner way would be to use the 'isconnection' function to check if the connection is valid <https://www.mathworks.co...

MoneyNet connection instable and randomly lost

A much cleaner way would be to use the 'isconnection' function to check if the connection is valid <https://www.mathworks.co...

4 years ago | 0

Answered

How can I set a custom path in Matlab R2017a on MacOS?

Hi Poul, You can try using a startup.m File The startup.m file is for specifying startup options. You can add folders to t...

How can I set a custom path in Matlab R2017a on MacOS?

Hi Poul, You can try using a startup.m File The startup.m file is for specifying startup options. You can add folders to t...

4 years ago | 0

Answered

How to execute command according to time while running simulation?

You can run the simulation for one time step using the sim() command. The resulting outputs can be again sent as an input for si...

How to execute command according to time while running simulation?

You can run the simulation for one time step using the sim() command. The resulting outputs can be again sent as an input for si...

4 years ago | 0

Answered

Plot a video near a matlab plot

Hi Michela, * You can save the moving plot as a video using the 'getframe' function. In the following example I store each fr...

Plot a video near a matlab plot

Hi Michela, * You can save the moving plot as a video using the 'getframe' function. In the following example I store each fr...

4 years ago | 0

Answered

Video is displayed smaller in figure

Hi Geert-Jan, I tried running the example code that you mentioned in MATLAB R2017a. However, I am unable to reproduce the iss...

Video is displayed smaller in figure

Hi Geert-Jan, I tried running the example code that you mentioned in MATLAB R2017a. However, I am unable to reproduce the iss...

4 years ago | 0

Answered

How do i find the yearly mean and maximum of Discharge data from a 50 years data?

Hi Farooq, As mentioned by others, it will be helpful if you share the sample data that you are using. However I did a quick ...

How do i find the yearly mean and maximum of Discharge data from a 50 years data?

Hi Farooq, As mentioned by others, it will be helpful if you share the sample data that you are using. However I did a quick ...

4 years ago | 0

Answered

Whenever I try opening simulink 2016b...it shows a message like this in start page

Try checking your Internet Options in the Control Panel and setting an exception: Internet Options --> Connections --> LAN-Se...

Whenever I try opening simulink 2016b...it shows a message like this in start page

Try checking your Internet Options in the Control Panel and setting an exception: Internet Options --> Connections --> LAN-Se...

4 years ago | 0

Answered

Host Matlab GUI in C# WPF application

Hi Joy, This thread looks like a similar discussion. It might be of some help: <https://www.mathworks.com/matlabcentral/...

Host Matlab GUI in C# WPF application

Hi Joy, This thread looks like a similar discussion. It might be of some help: <https://www.mathworks.com/matlabcentral/...

4 years ago | 0

Answered

Datafeed returns an error using fetch function

Hi Adraino, MATLAB uses Yahoo's API under the hood. Around April 18 Yahoo introduced some changes in the protocol of their AP...

Datafeed returns an error using fetch function

Hi Adraino, MATLAB uses Yahoo's API under the hood. Around April 18 Yahoo introduced some changes in the protocol of their AP...

4 years ago | 4

Answered

Neural network and get data from workspace

Hi Michel, I assume you are using Neural Network Pattern Recognition Tool and you want to import some training data. You cann...

Neural network and get data from workspace

Hi Michel, I assume you are using Neural Network Pattern Recognition Tool and you want to import some training data. You cann...

4 years ago | 0

| accepted

Answered

Support for math markup in Cody Coursework planned?

Hi Timofey, Thanks for your feedback. FYI, I've shared the same with the Cody Team, they're looking into this. Reg...

Support for math markup in Cody Coursework planned?

Hi Timofey, Thanks for your feedback. FYI, I've shared the same with the Cody Team, they're looking into this. Reg...

4 years ago | 0

Answered

Coefficients from butter function differ between platforms

Hi Bjarke, There may be many factors causing this mismatch. For example, 'butter' function you mentioned might use some libra...

Coefficients from butter function differ between platforms

Hi Bjarke, There may be many factors causing this mismatch. For example, 'butter' function you mentioned might use some libra...

4 years ago | 1

| accepted

Answered

Accessing Bing map data from Matlab

Hi Georg, I assume you want to work on Geospatial data. This functionality is available in 'Mapping Toolbox'. You can explor...

Accessing Bing map data from Matlab

Hi Georg, I assume you want to work on Geospatial data. This functionality is available in 'Mapping Toolbox'. You can explor...

4 years ago | 0

Answered

Create tall array/datastore of multiple .csv files with different file formats (Big Data)

Hi Matthjis, You can write a custom file read function using fileDatastore. This is used for custom files. You can rea...

Create tall array/datastore of multiple .csv files with different file formats (Big Data)

Hi Matthjis, You can write a custom file read function using fileDatastore. This is used for custom files. You can rea...

4 years ago | 0

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

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

4 years ago

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

4 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Answered

External Interrup Source for SLRT

Hi James You can use IRQ source block and convert your whole model to function-call subsystem to achieve this. To read more a...

External Interrup Source for SLRT

Hi James You can use IRQ source block and convert your whole model to function-call subsystem to achieve this. To read more a...

4 years ago | 0

| accepted

Answered

Problem with shortened Reed-Solomon codes in MATLAB

This is a bug in RS encoder system object in MATLAB R2015a and it has been corrected in MATLAB R2016a. You can try the same and ...

Problem with shortened Reed-Solomon codes in MATLAB

This is a bug in RS encoder system object in MATLAB R2015a and it has been corrected in MATLAB R2016a. You can try the same and ...

4 years ago | 1

Answered

How do I install correctly the MinGW-w64 compiler for Windows ?

Hi Robin, You can refer to this MATLAB Answers link for more information on why this occurs: <https://www.mathworks.com/...

How do I install correctly the MinGW-w64 compiler for Windows ?

Hi Robin, You can refer to this MATLAB Answers link for more information on why this occurs: <https://www.mathworks.com/...

4 years ago | 0

| accepted

Answered

New block for Pixhawk in Simulink

Hi Fernando, This might be a good starting point for you <https://www.mathworks.com/help/simulink/custom-block-basics.htm...

New block for Pixhawk in Simulink

Hi Fernando, This might be a good starting point for you <https://www.mathworks.com/help/simulink/custom-block-basics.htm...

4 years ago | 0

| accepted

Answered

Can someone give me the source code for bat algorithm based support vector machine for regression?

Hi Sharath, <https://www.mathworks.com/matlabcentral/fileexchange/ MATLAB File Exchange> lets you find and share custom appli...

Can someone give me the source code for bat algorithm based support vector machine for regression?

Hi Sharath, <https://www.mathworks.com/matlabcentral/fileexchange/ MATLAB File Exchange> lets you find and share custom appli...

4 years ago | 0

Answered

Problem with Fuzzy logic Controller in Simulink

Hi David, There is no hard limit on the number of rules. However, a huge number of fuzzy rules not only increases computati...

Problem with Fuzzy logic Controller in Simulink

Hi David, There is no hard limit on the number of rules. However, a huge number of fuzzy rules not only increases computati...

4 years ago | 1

Answered

Data preprocessing in ANNs

In general, you can get a new variable in the range [a,b] using: x_new = (b-a)*((x-min_x)/(max_x-min_x))+a...

Data preprocessing in ANNs

In general, you can get a new variable in the range [a,b] using: x_new = (b-a)*((x-min_x)/(max_x-min_x))+a...

4 years ago | 0

| accepted

Answered

errors while implementing a fuzzy logic controller with feedback ...

This may be a case of Algebraic loop formed. Basically, algebraic loops occur when an input port with direct feedthrough is driv...

errors while implementing a fuzzy logic controller with feedback ...

This may be a case of Algebraic loop formed. Basically, algebraic loops occur when an input port with direct feedthrough is driv...

4 years ago | 0

Answered

Input ports (1, 2) of 'untitled/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Merge' are involved in the loop

This may be a case of Algebraic loop formed. Basically, algebraic loops occur when an input port with direct feedthrough is driv...

Input ports (1, 2) of 'untitled/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Merge' are involved in the loop

This may be a case of Algebraic loop formed. Basically, algebraic loops occur when an input port with direct feedthrough is driv...

4 years ago | 1