Statistics
0 Questions
90 Answers
RANK
563
of 296,109
REPUTATION
134
CONTRIBUTIONS
0 Questions
90 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
17
RANK
of 20,339
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 155,365
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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...
20 days ago | 0
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 = ...
20 days ago | 1
| accepted
Boxplot overlay - multiple variables
Hi Rita, Here is one example implementation which leverages the boxplot function to achieve the desired layout using skin respo...
2 months ago | 0
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]; % ...
2 months ago | 1
| accepted
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
"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
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
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
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
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
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
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
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
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
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
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
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, ...
4 months ago | 1
| accepted
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 ...
4 months ago | 0
| accepted
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...
4 months ago | 0
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...
4 months ago | 0
| accepted
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...
4 months ago | 0
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...
4 months ago | 0
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...
4 months ago | 1
| accepted
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
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
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
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
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
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
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