Answered
Can we get datetime as an input variable?
Hi Ayesha, When predicting a time-dependent variable like internal temperature, especially with a focus on winter data, the ‘da...

12 months ago | 0

Answered
Understanding rsenc (RS encoder) function
Hi Sreekanth CB, The discrepancy you are observing is due to a misunderstanding of how the Reed-Solomon encoding process works...

12 months ago | 0

Answered
Is it possible to use matlab script for creating hdl verifier model?
Hi Poorren, While MathWorks doesn't provide a direct API specifically for HDL Verifier, you can use MATLAB scripting to automa...

1 year ago | 0

| accepted

Answered
Hello everyone i am solving multi degree freedom of system by using Newmarks beta method in which loading function F(x,v). When i am ruing the code, the result i
Hi abdellhadi, The code needs the following changes to give accurate results for the Newmark-beta method for solving the dynam...

1 year ago | 0

Answered
load flow by backward-forward sweep algorithm to make NR
Hi emy, Here is the outline of the MATLAB code for NR using BPSO with a simplified BFS-based load flow analysis for the IEEE 3...

1 year ago | 0

| accepted

Answered
Open word template document using mlreportgen.dom API
Hi Azhar, The ‘mlreportgen.dom’ API does not directly support opening and modifying an existing ‘.dotx’ file. This API is desi...

1 year ago | 0

Answered
Packet generation in simulink using MATLAB script
Hi Fumihiko Sato, Here is the outline of the procedure along with documentation links to generate the bitstream usin...

1 year ago | 0

Answered
How to megre meshgrid and stl file?
Hi taetae, Here is a demonstration on how to merge a ‘meshgrid’ with an ‘STL model’ in MATLAB R2022b. A dummy STL model which ...

1 year ago | 0

Answered
\u003c\u0068\u0031\u003eHow to use Thi"ngSpeak""
You may refer to the followingdocumentation link by MathWorks which covers various use cases and examples to use ThingSpeak: ht...

1 year ago | 0

| accepted

Answered
unable to add state in model
Hi Pooja, The error you are facing is that the Stateflow model is missing an enumeration for the state ‘SELFTEST STATE’. This ...

1 year ago | 0

Answered
Calling linkaxes on uiaxes objects makes plot contents disappear when using uigridlayout
Hi Ted Londner, The issue of the plots not visible is due to the scaling of the axes. The figure on executing the code snippet...

1 year ago | 0

Answered
I am trying to solve a Matlab Simulink problem
Hi Temidayo Daniel, The error occurs because the “meas_pos” signal is connected to a constant block. Instead, it needs to be c...

1 year ago | 0

Answered
Normalise data by max envelope value
Hi Emma, To normalize the other two datasets (“FT” and “RFE”) using the maximum value from the MVC envelope, you first need to...

1 year ago | 0

Answered
How can I change the old path of a MATLAB file to a new path?
Hi Rania, The error you are encountering may be solved by the following methods: Verify the file path and filename: Ensure t...

1 year ago | 0

Answered
The "parfeval" command is not working on the addPath function
Hi Chaitanya Nawale, The function "parfeval" is causing the error, as it attempts to operate on the "proj_modelBasedDesignCode...

1 year ago | 0

Answered
Resizing Subplots Within a Figure
Hi Isabella, Given your constraints—maintaining the aspect ratios, the relative sizes of the images to each other, and the figu...

1 year ago | 0

| accepted

Answered
how to count a sequence of data arrays with cut off?
Hi rahmat, I understand from the description that you want the code to stop counting when it encounters a value that is larger...

1 year ago | 1

| accepted

Answered
creating a function for linear interpolation based on two changing states
Hi Kitt, I understand that the goal is to create a function that performs linear interpolation for a fitness equation with two ...

1 year ago | 0

| accepted

Answered
I want to classify linear, parabolic and exponential functions using machine learning.
Hi Hasan Yilmaz, I understand that the task at hand is to classify a given set of 10 (x, y) pairs into one of three categories...

1 year ago | 0

| accepted

Answered
for loops auto nidification problem
Hi Emiliano Rosso, A while loop or a recursive function can be used that keeps track of the current iteration and dynamically ...

1 year ago | 1

Answered
Plot of the Rossler Attractor
Hi Conor Pierce, I have reproduced a similar plot of the Rossler attractor with the following script “rough_rossler_script.m”:...

1 year ago | 0

Answered
Why does the simulation graph change when I change the step size?
Hi Kadir Çolak, Here are the solutions to the issues you are facing while simulating the diff model: Sample times must be an...

1 year ago | 0

Answered
How to copy-paste heading and its content in MS word from Matlab?
Hi Giuseppe, The job here has two parts: first,  copying the necessary content under a specific heading, and second, pasting t...

1 year ago | 0

| accepted

Answered
Can't use conv() after using coeffs()? It works when manually inputting the coefficients but doesn't when it is taken using coeffs
Hi Marc Joseph, Reason behind the error: The issue you are encountering stems from the difference in the types of objects “c...

1 year ago | 0

Answered
patch faster using parallel computing as my code take long time ?
Hi Sahil Wani, To accelerate the plotting process of the “CC” structure, the Parallel Computing Toolbox can be used. Since eac...

1 year ago | 1

| accepted

Answered
Getting arrow key presses in code without any figures
Hi John Endler, Capturing arrow keys directly in a MATLAB script without using a figure is beyond the capabilities provided by...

1 year ago | 0

| accepted

Answered
Read time data from server fast without new connection by tcpclient
Hi PeLa, The connection to the server remains after the first read. This can be checked using 'Nist_Time.Status' which return...

1 year ago | 0

| accepted

Answered
Interactive Plot: click and display updated trace?
Hi Edoardo, You can set up an interactive plot where clicking on the plot automatically updates another plot with the behaviour...

1 year ago | 0

| accepted

Answered
Dynamic Table for .nwb
Hi Siri, I gather from the code snippet that you are trying to pull the ‘label’ values from ‘fields.mat’ and use it in ‘Electr...

1 year ago | 0

Answered
How does one best capture dependency versions for a MATLAB project, please?
Hi Robert, MATLAB projects (.prj) offers a way to manage and share your work along with its dependencies. Here is the workflow...

1 year ago | 0

Load more