# Jaynik

Last seen: 1 day ago Active since 2023

Followers: 1   Following: 0

All

#### Feeds

View by

How can we construct and visualize hypergraph?
Hi @s malik, As per my knowledge, currently there is no direct way to create hypergraphs in MATLAB. However, you can represent ...

9 days ago | 0

I have drawn some graphs within the notbook mupad and have found their chromatic numbers. Is it possible to then find their total chromatic numbers?
Hi Olivia, You can use a simple greedy algorithm to find the color of each vertex in MATLAB. Following is a sample code for the...

9 days ago | 0

finding the shortest cycle in a graph
Hi @R yan, You can use the allcycles function on a graph object to find all the cycles in a graph. Once you obtain all the cycl...

9 days ago | 0

How to build a N-regular graph
Hi @Anelmad Anasli, A N-regular graph is a graph where each node has 'N' neighbors. Following is a MATLAB function that takes N...

9 days ago | 0

mencari nilai minimum dari algoritma graph
Hi @Fawwaz, Based on the given function, to find the minimum value in a graph coloring algorithm where the minimum value is gre...

10 days ago | 0

Build and visualize a circulant graph
Hi @mazari ahmed, There is no direct function to plot "circulant" graphs in MATLAB. Though you can create a plot from using oth...

19 days ago | 0

How to Simulate Nonlinear Model Discrete Time?
Hi, The ode45 function is used for solving ordinary differential equations (ODEs) and it is typically used for continuous-time ...

2 months ago | 0

What's the difference between a random walk, AR(1) or a white noise process?
Hi, A random walk is a time series model where each current term is the sum of the previous term and a random error. An AR(1) p...

2 months ago | 0

find the variance of autocorrelation function
Hi Chithralekha, The two pieces of code are not equivalent, and that is why they are producing different results. In first piec...

2 months ago | 0

How do I get a 0 value time series data, given the range of another variable
Hi, The error message indicates that the number of dates must match the number of rows of observations when creating a new time...

2 months ago | 0

Estimate an AR(1) model with intercept for time series yt using the LS method
Hi, We can use the ar function in the "System Identification Toolbox", for estimating autoregressive models directly. Following...

2 months ago | 0

fitglm for multi-dimensional/time series data
Hi Niko, The fitglm function in MATLAB is designed to work with univariate response variables. For multivariate response variab...

2 months ago | 0

How to forecast a multi step ahead time series?
Hi Atreyee, The predict function from the "System Identificatoin Toolbox" can be used to perform multi-step ahead forecasting. ...

2 months ago | 0

Simple Binary Series prediction
Hi, One method for simple binary series is using Autoregressive Integrated Moving Average (ARIMA) models, which are often used ...

2 months ago | 0

Spectral Analysis with fft
Hi Frank, The code seems correct as you have correctly implemented the theoretical autocovariance function of an AR(1) process ...

2 months ago | 0

I would like to extract a representative pattern from a univariate time series data set
Hi Deepak, A Hidden Markov Model (HMM) is a model in which you observe a sequence of emissions, but do not know the sequence of...

2 months ago | 0

Time series - How to use a loop
Hi, You can do the following to automate a for loop instead of writing manual code for each year: a=1; b=1; sigma_white_nois...

2 months ago | 0

How to find the RMSE.. !
Hi Sophia, The Root Mean Square Error (RMSE) is a measure of how well your model's predictions match the actual data. It is cal...

2 months ago | 0

How to get chaos features from a set of signals to build a ML classifier based on it?
Hi Mahmoud, The hht function can be used in MATLAB to obtain the Hilbert-Huang Transform. You will need to give the intrinsic m...

2 months ago | 0

Averaging time series for a season
Hi, You can follow a similar approach to the one you used for the annual mean. Instead of averaging over all 12 months, you wil...

2 months ago | 0

Calculate Inflation rate (yearly, quarterly)
Hi Gustav, The approach to calculate the inflation rate based on the Consumer Price Index is correct. The inflation rate is typ...

2 months ago | 0

how to generate error terms for idploy or ARMAX models
Hi Kushan, In the context of an ARMAX model, the terms in the equation are the residuals of the model, that is, the differences...

2 months ago | 0

Create a time series collection from two timeseries with different TimeInfo Vector
Hi, The error message suggests that the time vectors of the two timeseries objects are not identical. In MATLAB, the time vecto...

2 months ago | 0

How to change plotting options in deep learning networks?
Hi, There is no direct way to remove the smoothed training accuracy curve from the graph. If possible, you can upgrade MATLAB a...

3 months ago | 0

Hi Savi, In Simulink, you can design a source noise signal using the Noise block. This block allows you to model noise as an id...

3 months ago | 0

Using fitcdiscr without feature normality
Hi João, You can still use fitcdiscr even if your features do not follow a Gaussian distribution. It is assumed that the data f...

3 months ago | 0

Multiple language on custom tab
Hi Suraj, One workaround is to create a JSON file for each language you want to support. Create the JSON with translated string...

3 months ago | 0

Fints - extract x years historical prices
Hi, Since R2018a, 'fints' has been replaced with 'timetable' which can be used directly as table. Here is a sample code to ge...

3 months ago | 0