photo

Shivam


Last seen: 8 days ago Active since 2023

Followers: 1   Following: 0

Statistics

  • Knowledgeable Level 4
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Index in position 1 is invalid. Array indices must be positive integers or logical values. this is my code.
Hi @Chingann The problem arises from the way bcDof is defined. The variable bcDof is supposed to contain indices of the degrees...

16 days ago | 0

Answered
having problem plotting ramp function
Hi Yin, You can use the below script to get the desired figures. m = 5; k = 18; c = 1.2; f0 = 100; wn = sqrt(k/m); cc = ...

16 days ago | 1

| accepted

Answered
Boxplot overlay - multiple variables
Hi Rita, Here is one example implementation which leverages the boxplot function to achieve the desired layout using skin respo...

1 month ago | 0

Answered
How to add time in seconds to UTC Date Format
Hi Zayd, You can follow the below workaroud to add seconds to UTC Date format: current_UTC = [2025, 12, 13, 14, 15, 16]; % ...

1 month ago | 1

| accepted

Answered
How can i uninstall or unclaim matlab free-trial version?
Hi Tran, I assume you're using MATLAB on a Windows operating system. According to the "Uninstall MATLAB" documentation, you can...

2 months ago | 0

Answered
"cycle for" between matrix with a variable in the name
Hi Andrea, Refer to the example implementation: N = 5; % Example no of matrix A = {A1, A2, A3, A4, A5}; % Cell array containi...

2 months ago | 0

| accepted

Answered
Help me to solve the question
Hi Teresa, Here is the solution of the 2 tasks you mentioned: % Define the matrix B B = [21 12 33 14 51 61; 17 18 19 10...

2 months ago | 0

Answered
Help me to solve
Hi @TERESA, Refer to the workaround to achieve the goal: % Define the matrix A A = [1 2 3 4 5 6; 7 8 9 10 11 12...

2 months ago | 0

Answered
2D heatmap based on weight (not density)
Hi @Michaela Warnecke, You can achieve the above 3 implementations using the scatter, imagesc and contourf functions respective...

2 months ago | 0

| accepted

Answered
If f1(x,y)≤z≤f2(x,y), how to draw the range of z?
Hi @xin, As per my understanding, you are given an inequality f1(x,y) <= z <= f2(x,y) describing the upper and lower limit for ...

3 months ago | 0

Answered
How to store an array of headers in a MAT file?
Hi @Norma, I understand that you want to update the headers of a table using new header names stored in a .MAT file. You can ac...

3 months ago | 0

| accepted

Answered
How to create 3D contour plot of a set of data consisting of series of points x,y,z with a quantity V(x,yz)?
Hi @NAFTALI HERSCOVICI, You can plot contours of V at the coordinates (x, y, z) by following the below mentioned workaround: U...

3 months ago | 0

| accepted

Answered
tic toc delayed output inside for loop
Hi @JG, You can store the elapsed time in a variable and use fprintf or disp function to print the elapsed time. It will print ...

3 months ago | 0

Answered
How to read the properties information of kml data
Hi @주영, Using readgeotable for the kml data, gives a nxm table where n corresponds to no. of 'Placemark' inside the kml documen...

3 months ago | 0

Answered
Is there a way to remove the vertical line from Matlab editor window?
Hi Barun, Please note that the vertical line in the MATLAB editor window is a Right-Side Text Limit Indication, which appears ...

3 months ago | 1

| accepted

Answered
How i can run this code with simple boundary conditions given in code
Hi Sharqa, I see that you are having difficulty in executing the provided code snippet with certain no of constants. Please...

3 months ago | 0

Answered
Trying to convert 6 digit number to a date
Hi Simeon, The format 'D-MM-uu' you are using won't work because it doesn't match the structure of your input string. Instead, ...

3 months ago | 1

| accepted

Answered
How to rotate xline label with vertical orientation?
Hi Sofia, You can follow the workaround mentioned to get the text label in vertical orientation but readable from the top to ...

3 months ago | 0

| accepted

Answered
How to add values to an array and how to add values to a table without overlapping them
Hi 주영, You can use the random function e.g. randi to generate a random number and keep appending that number into an array for...

3 months ago | 0

Answered
Control System Toolbox is installed but not working.
Hi Fergus, Here are few things you can try to resolve the issue. 1. It may be possible that MATLAB path doesn't have the 'co...

3 months ago | 0

| accepted

Answered
How can I split the graph into two parts?
Hi Haref, Please refer to the following workaround to achieve the goal load('x_diff3.mat'); load('x_fdep3.mat'); % Find th...

3 months ago | 0

Answered
I'm getting "Index in position 1 is invalid. Array indices must be positive integers or logical values." in my code
Hi Ivan, Upon investigation of the error through the provided script and the excel files, I see that you are trying to index in...

3 months ago | 0

Answered
uiwait and uiresume in App designer to control main code and sub code
Hi 邱, I get that you have a script that you want to continue executing once you have gathered that data from the app getting ex...

3 months ago | 1

| accepted

Answered
Determining electric field from electrostatic potential
Hi Somnath, I see that you are encountring the error while calculating electric field from 2D electric potential. In vector ca...

4 months ago | 0

Answered
Installation error on Garuda Linux (Arch)
Hi Edgar, From the error provided, I get that you are unable to launch MATLAB while installing a file in Garuda Linux using com...

4 months ago | 0

Answered
I get error, 'Error using fopen File identifier must be an integer-valued scalar of type double.'
Hi Luis, From the information provided, I understand that you are encountering an error while using the uigetfile and fopen MAT...

4 months ago | 1

Answered
Force Closing HTTP Connection
Hi Jay, I get that while establising the HTTP connection with the parameter 'KeepAliveTimeout' set to 0, the connection doesn...

4 months ago | 2

| accepted

Answered
how can i have step input signal in signal editor?
Hi Elham, I understand that you have 3 step signal inputs which you want to plot in the signal editor. You can follow the...

4 months ago | 0

Answered
What is the difference between rcosdesign and fdesign.pulseshaping?
Hi Jon, I understand that you want to know the difference between 'fdesign.pulseshaping' and 'rcosdesign' and why the coefficie...

8 months ago | 0

Answered
How to automatically add some code content at any place in the code generated by simulink
Hi Phlips, From the information provided, I understand that you want to add custom code to the code generated using Simulink Co...

8 months ago | 0

Load more