Question

Comparing two character array

I have two character arrays, F='(AB'')+(BC)+(C)' and G='(BC'')+(C)+(AB)'. How can I compare all the terms of G to determine if i...

29 days ago | 1 answer | 0

Question

Find and replace in a character array

Hey, I have this character array F='(B~C) + (~AB)'. How can I assess the array to locate all the terms that has a ~ before it a...

1 month ago | 2 answers | 0

Question

Linking pushbuttons to a callback function

function Comb_logic_circuit ANDB = uibutton(Gate,'push','Text','AND','Position',[5 450 110 60],'ButtonPushedFcn',@(ANDB,event...

1 month ago | 1 answer | 0

Question

Finding corresponding term from a uitable

I have created the uitable as seen in the attached. I have extracted the data from the table. I have sorted through the "TO" col...

2 months ago | 1 answer | 0

Question

Error using uistyle for a table

Hey I using guide on Matlab 2019b version. I am trying to run the following code but I am only getting the error (Undefined fun...

2 months ago | 1 answer | 0

Question

Adding terms to uieditfield

I have a character array Solve=' (B*C) + (A*~C)' and I would like to display F= (the character array) into a uieditfield using g...

2 months ago | 1 answer | 0

Question

Comparing terms in a character array

Hey, I have character array with terms solve= (B*C) + (A*~C), I am comparing terms from table to determine if it exist exact in...

2 months ago | 1 answer | 0

Question

drawing lines between nodes in a GUI

Hey, I would like to know if it is possible to add nodes to a user interface from GUIDE in matlab. I would like to place 24 nod...

2 months ago | 1 answer | 0

Question

Linking two editfields in GUIDE

I am creating a logic gate simulator using GUIDE in matlab. The logic gates are placed in static positions and the inputs/output...

2 months ago | 1 answer | 0

Question

Linking a pushbutton to two dropdown menus in GUIDE

I have a pushbutton that is required to draw a line based on the options that the user selects from the two dropdown menus. How ...

2 months ago | 1 answer | 0

Question

Linking two dropdown menus to a pushbutton in a GUI

I have two dropmenus with values set to each dropdown respectively. I would like to use a pushbutton to link the two dropdowns a...

3 months ago | 1 answer | 0

Question

callback for pushbutton in a gui to solve a Karnaugh Map

How do I write a callback for a pushbutton to display a 3 variable Karnaugh Map as seen in the attached and to solve it using th...

3 months ago | 1 answer | 0

Question

Drawing a line in a gui

I am creating a gui in matlab where I have 12 editfields which the user would enter a specific label. After the user has entered...

3 months ago | 0 answers | 0

Question

How to create a 3 variable Karnaugh Map

How to create a 3 variable karnaugh map.

3 months ago | 1 answer | 0

Question

Matlab Gui-linking uitable ti dropdown menu

I have a gui for a logic gate simulator so I have created a table to store information that is entered by the user into its re...

3 months ago | 1 answer | 0

Question

writing a callback in a gui

How to write a callback for a menu in an GUI for Logic gates like NOT, OR, AND. How to create the operation of these gates? like...

3 months ago | 1 answer | 0

Question

Writing callback for gui

hey, I have to create a GUI that allows the user to construct a logic circuit from a menu using NOT, AND and OR gates. The gate...

3 months ago | 2 answers | 0

Question

Creating Gui in matlab

Hey, I am creating a drop menu in matlab GUI with logic gates options 2 input OR, AND, NOT, NAND & NOR gates. I would like to k...

6 months ago | 1 answer | 0

Question

customize library in matlab

hey, i have created some methods to estimate some missing points that my data possesses. I have to now "develop a library in ma...

2 years ago | 1 answer | 0

Question

Linear regression for a dataset

I have two vectors in the attached file. The variable with wind speed has missing data points. I would like to know if there is ...

2 years ago | 0 answers | 0

Question

creating a 10 x 1 matrix that counts

Hey i want to create a 10 x 1 matrix with the values 0 to well 9 in it. So basically it does a count. I want to get x=[0;1;2;3;4...

2 years ago | 1 answer | 0

Question

how to build a bimodal weibull distribution in matlab

hey, I would to know if there is a way to build a bimodal weibull distribution in matlab for a dataset with hourly wind speed?

2 years ago | 0 answers | 0

Question

BoxCox power Transformation for wind speed

hey i have a dataset with hourly wind speed data. However, when i plot the pdf for it, there is a case where there is an excessi...

2 years ago | 0 answers | 0

Question

fitting mixed distributions to wind speeds

Hey is there a way in Matlab to fit a (Mixed Weibull and GEV distribution) or (Mixed Weibull and lognormal distribution)() for h...

2 years ago | 0 answers | 0

Question

removing zeros from a matrix

Hey I have a matrix x=[1;2;0;0;0;3;4;5;0;6;0;4;0;6;3;2;1;1;0]; how do I remove the zeros from this matrix?

2 years ago | 1 answer | 0

Question

How to remove periodicity in hourly wind speed data by using fourier transform

Hey, I have a dataset that contains hourly wind speed data for 7 seven. I am trying to implement a forecasting model to the data...

2 years ago | 0 answers | 0

Question

Truncated weibull distribution for hourly wind speed data

hey, I have a dataset with hourly wind speed data for 7 years. However when I plot the pdf of the data, it is a large amount of ...

2 years ago | 0 answers | 0

Question

how to make a 3x3 matrix a 9x1 matrix?

Hey i have a matrix x=[ 1 4 7; 2 5 8 ;3 6 9]; how do I make this matrix become x=[ 1;2;3;4;5;6;7;8;9];

2 years ago | 1 answer | 0

Question

normalizing row of a matrix?

Hey I have a matrix x=[ 1 0 7; 2 0 0; 3 0 9]; i would like to know if there is a way to normalize this data to a mean 0 and vari...

2 years ago | 1 answer | 0

Question

Modelling hourly wind speeds for forecasting using arma and arima model

Hey I have a dataset that consist of hourly wind speed data that is from January 2000 to December 2007 and I am trying to model ...

2 years ago | 0 answers | 0