photo

Zinea


Last seen: 1 month ago Active since 2024

Followers: 1   Following: 0

Statistics

  • 6 Month Streak
  • Knowledgeable Level 3
  • First Answer

View badges

Feeds

View by

Answered
Problem with plotting + on a figure using the plot function.
Hi @Graham, The behavior above is occurring due to how the coordinates are being extracted and plotted. In MATLAB, when you u...

2 months ago | 1

| accepted

Answered
How to rewrite this high dimensional matrix calculation
Hi @Hancheng Zhu, To accelerate the calculation of the 5-dimensional matrix Z, you can make the following changes: Preallocate...

2 months ago | 0

Answered
trying to extract the months to create a format looks like 202404, how to do that ?
Hi @Elisa, The error above occurs due to the attempt to use a datetime object as an index, which is not allowed. The issue aris...

2 months ago | 0

Answered
How to bound at 3D surface within an ellipse?
Hi Hope, I understand that the goal is to plot a hyperbolic surface constrained within an elliptical region. This can be achie...

2 months ago | 0

Answered
from where and how to down image (colored &gray) to work on MATLAB on my computer?
Hi @Ahmed, I think you meant how to load a downloaded image present in your computer into MATLAB. For this, you can use the '"i...

2 months ago | 0

Answered
Help importing and reading .csv file and graphing
Hi Zachary, I see that you want to read a .CSV file with over 600,000 data points having 3 columns. For achieving this, the...

2 months ago | 0

Answered
How to Adjust Elevation and Azimuth Relative to the Original Route in 2D/3D Plot (lat, long, alt) in MATLAB?
Hi Lidor, To adjust the route based on specified azimuth and elevated angles (given as inputs), the method of converting the l...

2 months ago | 0

Answered
How can I insert a variable into a plot legend, with a special character following the variable?
Hi Jack Lebar, I can see that you want the legend should display only the fourth data set and insert ‘°/mm’ following th...

2 months ago | 0

Answered
How to find the value of the (maximum, minimum, average) intensity in the image on MATLAB?
Hi Ahmed, This is a homework question and hence I won't be providing the exact answers. Below are some hints to help you reach ...

2 months ago | 1

Answered
I need to capture time taken by vehicle when velocity comes to zero after braking application by using following script.
Hi @UDAY, To capture the time taken for a vehicle to come to a complete stop after the application of brakes, the dynamics of ...

2 months ago | 0

Answered
'hold off' produces second plot in MATLAB Live Script
Hi Cornelia, The behaviour stated in the question is not a bug, rather it is an expected behaviour. The following points are to...

2 months ago | 1

| accepted

Answered
Inconsistent Variable Naming in 'To Workspace' Blocks with Multiple Subsystem Reference Instances
Hi Javier, This behaviour of renumbering of the blocks occurs due to how Simulink manages unique identifiers for blocks when t...

2 months ago | 0

Answered
Gradient Descent optimization in an electrical circuit or transmission line
Hi Syed Abid Sahdman, To optimize the parameters of a nonlinear transmission line using ’Gradient Descent’, an integration of ...

2 months ago | 1

Answered
Necesito calcular valor de 𝑦 para una ecuación matematica de y = a la raiz de un valor usando funciones predefinidas y no se como arrancar
Hi claudia, ¡Por supuesto! Aquí tienes la traducción al español del código y la explicación: % Definir el valor de x x = 2...

3 months ago | 0

| accepted

Answered
Averaging non-aligned time-series arrays
Hi dormant , For creating a mean time series covering the entire time range, you can use a combination of ‘unique’, ‘ismember’,...

3 months ago | 0

| accepted

Answered
Simulate closed loop system with saturated controller output in Matlab
Hi Cedric Kotitschke, Simulating a closed-loop system with saturation on the controller output directly in MATLAB (without Si...

3 months ago | 0

Answered
How to introduce fluctuation with respect to time in my code?
Hi Rahul, To introduce small fluctuations in density and temperature over time in MATLAB code, sinusoidal functions or random ...

3 months ago | 0

| accepted

Answered
I'm getting "Index in position 1 is invalid. Array indices must be positive integers or logical values." in my code
The error message you're encountering indicates that there's an issue with the index 'i' in the following line: SE(i,1) = Fstat...

3 months ago | 0

| accepted

Answered
How to divide image datastore into training set, validation set and test set for training a CNN network with k-fold cross validation?
Hi BIPIN SAMUEL, To perform k-fold cross-validation with an image datastore in MATLAB, you can manually split the data for eac...

3 months ago | 1

| accepted

Answered
Change x- and y-axis description in multcompare()
Hi Annika, Yes, you can customize the axis labels and the title of a plot generated by the ‘multcompare’ function in MATLAB. Al...

3 months ago | 0

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

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

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

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

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

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

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

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

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

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

4 months ago | 0

Load more