回答済み
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...

2年弱 前 | 1

| 採用済み

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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:...

2年弱 前 | 0

回答済み
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 ...

2年弱 前 | 0

| 採用済み

回答済み
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...

2年弱 前 | 0

回答済み
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...

2年弱 前 | 1

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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...

2年弱 前 | 2

| 採用済み

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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 ...

2年弱 前 | 0

回答済み
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 ...

2年弱 前 | 0

| 採用済み

回答済み
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...

2年弱 前 | 0

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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 .*...

2年弱 前 | 1

| 採用済み

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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...

2年弱 前 | 1

| 採用済み

回答済み
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...

2年弱 前 | 0

回答済み
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...

2年弱 前 | 0

回答済み
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...

2年弱 前 | 11

回答済み
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...

2年弱 前 | 0

回答済み
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 ...

2年弱 前 | 2

回答済み
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...

2年弱 前 | 0

| 採用済み

回答済み
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...

2年弱 前 | 1

| 採用済み

回答済み
I'm receiving this error: "Incorrect number or types of inputs or outputs for function int." when trying to run the following code. I think because of the symbolic variables
Hey, The issue you’re encountering is due to the fact that int and vpaintegral functions in MATLAB are not designed to handle s...

2年弱 前 | 0

回答済み
Plotting functions of more than one variable, f(x,y)
Hey Conor, I checked and tried to plot using the 'fimplicit' function for the equations you mentioned. Here is a sample code ...

2年弱 前 | 1

回答済み
I am getting an error on the last line saying Input and target has different samples, Any suggestions?
Hey Joseph, The error message you’re seeing typically occurs when the dimensions of the input data and target data do not match...

2年弱 前 | 0

| 採用済み

回答済み
When attempting to connect Simulink and SimScape Electrical components, a red dotted line appears, indicating a connection problem.
Hi Abdullah, It is my understanding that, you can see red dashed lines while connecting the blocks in Simulink and Simscape Ele...

2年弱 前 | 0

さらに読み込む