Risposto

What could be the solution of this error (Parse error ar'(':usage might be invalid MATLAB syntax)?

Hi @Abdallah Alrefaie The error message you’re seeing is typically due to a syntax error in your MATLAB code. In your case, the...

What could be the solution of this error (Parse error ar'(':usage might be invalid MATLAB syntax)?

Hi @Abdallah Alrefaie The error message you’re seeing is typically due to a syntax error in your MATLAB code. In your case, the...

7 mesi fa | 0

Risposto

Problem in solving an optimization problem

Hi @naiva saeedia The fmincon function in MATLAB is designed for continuous optimization problems, and it doesn’t directly supp...

Problem in solving an optimization problem

Hi @naiva saeedia The fmincon function in MATLAB is designed for continuous optimization problems, and it doesn’t directly supp...

7 mesi fa | 1

| accettato

Risposto

How to use Taylor Series in stateflow?

Hi @Eonyong In Stateflow, you can use mathematical functions and expressions, including the Taylor series, directly in your sta...

How to use Taylor Series in stateflow?

Hi @Eonyong In Stateflow, you can use mathematical functions and expressions, including the Taylor series, directly in your sta...

7 mesi fa | 1

| accettato

Risposto

How to plot contour ?

Hi @GULZAR, The issue with your contour plot attempt lies in the incorrect handling of the Q_factor_ array. You're attempting t...

How to plot contour ?

Hi @GULZAR, The issue with your contour plot attempt lies in the incorrect handling of the Q_factor_ array. You're attempting t...

7 mesi fa | 0

| accettato

Risposto

is there any way to keep the uninitialized variable in parfor and recall it outside

Hi @Amirah Algethami In MATLAB, when using a parfor loop (parallel for loop), you need to understand that each iteration of the...

is there any way to keep the uninitialized variable in parfor and recall it outside

Hi @Amirah Algethami In MATLAB, when using a parfor loop (parallel for loop), you need to understand that each iteration of the...

7 mesi fa | 1

| accettato

Risposto

How can I specify the pressure and or the temperature for a specific point in a thermal liquid network ?

Hi, I felt that using Pressure and Temparature sensor is also helpful, but yes after little research on your comment on the tol...

How can I specify the pressure and or the temperature for a specific point in a thermal liquid network ?

Hi, I felt that using Pressure and Temparature sensor is also helpful, but yes after little research on your comment on the tol...

7 mesi fa | 0

| accettato

Risposto

Hey, I'm interested in neural network work, My doubt is that for this work in MATLAB which products is required to do install in the system.

Hi @Deepak, To work with Artificial Neural Networks in MATLAB, you will require the following products: Deep Learning Toolbox:...

Hey, I'm interested in neural network work, My doubt is that for this work in MATLAB which products is required to do install in the system.

Hi @Deepak, To work with Artificial Neural Networks in MATLAB, you will require the following products: Deep Learning Toolbox:...

7 mesi fa | 0

Risposto

data extraction for a specific period over a long data.

Hi @Salim, Check this code where I modified the script to compare every 500 steps and 50 steps over a file of 1000 steps: To ...

data extraction for a specific period over a long data.

Hi @Salim, Check this code where I modified the script to compare every 500 steps and 50 steps over a file of 1000 steps: To ...

7 mesi fa | 0

| accettato

Risposto

datetime adjustment in x-axis plot

Hi @vignesh mohan You can adjust the x-axis of your plot by setting the XTick and XTickLabel properties of the axes. Here’s how...

datetime adjustment in x-axis plot

Hi @vignesh mohan You can adjust the x-axis of your plot by setting the XTick and XTickLabel properties of the axes. Here’s how...

7 mesi fa | 0

Risposto

Active cell number of 4 individuals by days

Hi, Check this example script: % Assuming the data is in a matrix 'data' of size 4x14 (4 mice, 14 days) % with each row corre...

Active cell number of 4 individuals by days

Hi, Check this example script: % Assuming the data is in a matrix 'data' of size 4x14 (4 mice, 14 days) % with each row corre...

7 mesi fa | 1

Risposto

How to upload 2 libraries (Servo and Ultrasonic) to use Matlab with arduino

Check this: Include 2 libraries in matlab - Using Arduino / Interfacing w/ Software on the Computer - Arduino Forum Yes, you ca...

How to upload 2 libraries (Servo and Ultrasonic) to use Matlab with arduino

Check this: Include 2 libraries in matlab - Using Arduino / Interfacing w/ Software on the Computer - Arduino Forum Yes, you ca...

7 mesi fa | 0

| accettato

Risposto

Variance of linear system model

Hi @Valeriy, Let me answer your queries here, Multiplying by C and C’: This operation is known as a matrix multiplication. W...

Variance of linear system model

Hi @Valeriy, Let me answer your queries here, Multiplying by C and C’: This operation is known as a matrix multiplication. W...

7 mesi fa | 0

| accettato

Risposto

Why fitlm function is giving wierd results?

Hi @Devendra, Hope you are doing great! The error message you’re seeing is because the predict function is expecting an input...

Why fitlm function is giving wierd results?

Hi @Devendra, Hope you are doing great! The error message you’re seeing is because the predict function is expecting an input...

7 mesi fa | 0

| accettato

Risposto

How to speed up xline / yline ?

Hi, The xline and yline functions in MATLAB are designed for convenience and ease of use, but they may not be the most efficien...

How to speed up xline / yline ?

Hi, The xline and yline functions in MATLAB are designed for convenience and ease of use, but they may not be the most efficien...

7 mesi fa | 2

| accettato

Risposto

How can I plot a skyrmion to sphere similar to the following picture

Hi, To add to the earlier response, to know about making the color of the arrows vary gradually along the surface of the spher...

How can I plot a skyrmion to sphere similar to the following picture

Hi, To add to the earlier response, to know about making the color of the arrows vary gradually along the surface of the spher...

7 mesi fa | 0

| accettato

Risposto

can someone please assist to make the square wave plot at 50Hz

Hi, To plot a square wave at 50 Hz, you need to adjust the frequency value f in your code. The frequency of the square wave is ...

can someone please assist to make the square wave plot at 50Hz

Hi, To plot a square wave at 50 Hz, you need to adjust the frequency value f in your code. The frequency of the square wave is ...

7 mesi fa | 0

Risposto

how to solve the below transcendental equation for the given data?

Hi, The issue you're facing with the code not working consistently is likely due to the symbolic engine being reset or cleared ...

how to solve the below transcendental equation for the given data?

Hi, The issue you're facing with the code not working consistently is likely due to the symbolic engine being reset or cleared ...

7 mesi fa | 0

| accettato

Risposto

Modifying function to get only one value

Hello, To modify the function so that it outputs values (x), (y), and (w) based on the conditions you've specified, you can inc...

Modifying function to get only one value

Hello, To modify the function so that it outputs values (x), (y), and (w) based on the conditions you've specified, you can inc...

7 mesi fa | 0

Risposto

How to put conditions to find peaks in NDVI time series?

Hi, Check this, based on your explaination this is what I was able to come up with: Replace with correct file, and if any sma...

How to put conditions to find peaks in NDVI time series?

Hi, Check this, based on your explaination this is what I was able to come up with: Replace with correct file, and if any sma...

7 mesi fa | 0

| accettato

Risposto

Arrhenius type fit without taking the log(y) and inverse of x

Hi, Check this to get answer to your query: % Define the Arrhenius function arrhenius = @(A, Ea, R, x) A .* exp(-Ea ./ (R .*...

Arrhenius type fit without taking the log(y) and inverse of x

Hi, Check this to get answer to your query: % Define the Arrhenius function arrhenius = @(A, Ea, R, x) A .* exp(-Ea ./ (R .*...

7 mesi fa | 1

| accettato

Risposto

How to plot a part of an array?

Hi, check this: % Create the x vector x = 1:20; % Calculate y based on the equation y = 2 * x + 3; % Create a figure an...

How to plot a part of an array?

Hi, check this: % Create the x vector x = 1:20; % Calculate y based on the equation y = 2 * x + 3; % Create a figure an...

7 mesi fa | 0

| accettato

Risposto

Square wave frequency modulation

Hi, The issue with your code is that you are not actually modulating the frequency of the square wave correctly. The way you ar...

Square wave frequency modulation

Hi, The issue with your code is that you are not actually modulating the frequency of the square wave correctly. The way you ar...

7 mesi fa | 0

| accettato

Risposto

How to make this code without using built-in convolution function.

To make the code without using the built-in convolution function, you can implement the convolution manually. Check how you can...

How to make this code without using built-in convolution function.

To make the code without using the built-in convolution function, you can implement the convolution manually. Check how you can...

8 mesi fa | 1

| accettato

Risposto

Class array property with size validation is SLOW

Hi, I feel here the issue is due to MATLAB handles array assignments for properties with size validation. When you specify a si...

Class array property with size validation is SLOW

Hi, I feel here the issue is due to MATLAB handles array assignments for properties with size validation. When you specify a si...

8 mesi fa | 0

Risposto

swt requires wavelet tool ... can i run it without the tool

The swt2 and iswt2 functions you’re using are part of the Wavelet Toolbox in MATLAB. These functions are used to perform the sta...

swt requires wavelet tool ... can i run it without the tool

The swt2 and iswt2 functions you’re using are part of the Wavelet Toolbox in MATLAB. These functions are used to perform the sta...

8 mesi fa | 0

Risposto

Matlab unable to install add-ons

The error message you’re seeing is due to insufficient write permissions for the directory /usr/local/MATLAB/R2024a. This is com...

Matlab unable to install add-ons

The error message you’re seeing is due to insufficient write permissions for the directory /usr/local/MATLAB/R2024a. This is com...

8 mesi fa | 5

Risposto

My First Derivative is not correctly calculated in matlab

Hey, Looks like the issue you are encountering is due to the differentiation operation. When you differentiate 'yApprox' with r...

My First Derivative is not correctly calculated in matlab

Hey, Looks like the issue you are encountering is due to the differentiation operation. When you differentiate 'yApprox' with r...

8 mesi fa | 0

Risposto

Nyquistplot saveas don't generate vector graphics (.svg)

The reason why the Nyquist plot is not exporting as a vector graphic in the .svg format is likely due to the way MATLAB renders ...

Nyquistplot saveas don't generate vector graphics (.svg)

The reason why the Nyquist plot is not exporting as a vector graphic in the .svg format is likely due to the way MATLAB renders ...

8 mesi fa | 2

Risposto

UnderDamped Free SDOF System

Hey, The code you’ve written is for a damped system, but the damping coefficient c you’ve chosen is quite small (0.05). This me...

UnderDamped Free SDOF System

Hey, The code you’ve written is for a damped system, but the damping coefficient c you’ve chosen is quite small (0.05). This me...

8 mesi fa | 0

| accettato

Risposto

Using a FOR loop to iterate simultaneous equations

Hey, To create a MATLAB script that can handle a variable number of equations and unknowns. Here’s a modified version of your...

Using a FOR loop to iterate simultaneous equations

Hey, To create a MATLAB script that can handle a variable number of equations and unknowns. Here’s a modified version of your...

8 mesi fa | 1

| accettato