Community Profile

photo

Manikanta Aditya


Last seen: Today Active since 2022

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 4
  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

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

5 days ago | 0

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

9 days ago | 1

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

10 days ago | 0

| accepted

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

12 days ago | 0

| accepted

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

14 days ago | 0

| accepted

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

15 days ago | 2

| accepted

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

16 days ago | 0

| accepted

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

17 days ago | 0

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

18 days ago | 0

| accepted

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

19 days ago | 0

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

20 days ago | 0

| accepted

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

21 days ago | 1

| accepted

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

22 days ago | 0

| accepted

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

24 days ago | 0

| accepted

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

28 days ago | 1

| accepted

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

1 month ago | 0

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

1 month ago | 0

Answered
Is it possible to use format long in one line of code and then use format short in another line of code on the same script?
% Long format for pi format long pi_long = pi disp(['Long format: ', num2str(pi_long)]) % Short format for other values f...

1 month ago | 0

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

1 month ago | 0

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

1 month ago | 2

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 1

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 1

Answered
how to access matlab remotely?
Hi Suyong, Check this MATLAB Answers to know how answer to your query: how to use matlab remotly - MATLAB Answers - MATLAB Ce...

2 months ago | 1

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
Error using arxml.importer/updateModel Invalid or deleted object.
Hi Tommaso, From the error message it seems like there is an error realted to the 'updateModel' function in MATLAB's AUTOSAR p...

2 months ago | 0

Answered
How can I export data to specific cells in a prepared Excel file?
Hi Johannes, Try using the 'writematrix' function instead of 'xlswrite' function: https://www.mathworks.com/help/matlab/ref/wr...

2 months ago | 1

| accepted

Answered
Efficient script to isolate one sub-dataset k-times.
Just check out this code snippet which I can propose to make the code more efficient by using logical indexing instead of a loop...

2 months ago | 0

| accepted

Load more