Answered
Plotting multiple objects on same axis
r = 0.005; x = rand(100,1); y = rand(100,1); th = 0:pi/100:2*pi; for i = 1:1:length(x) a = r*cos(th) + x(i...

5 years ago | 0

| accepted

Answered
extract values from a vector for 5 secs every time
Hi Amit Pandrey, if let say you want to get the result of every 2 seconds from Alarm_active. time = [1 2 3 4 5 6 7 8...

5 years ago | 0

Answered
How to extract data from CSV that contains header
Hi, The easiest solution is drag your excel file and drop it in MATLAB command window. Then a data import apps will be pop ou...

5 years ago | 1

| accepted

Answered
What this indexing error all about in my matlab program. please help.
indexing must be positive integer, don't allow zero or floating. When i =1, then i-1 =0, then N_matrix((0),j) it cause...

5 years ago | 0

Answered
How can I find all the minimum values in table using a for-loop (which has Ties)?
Month = [01 02 03 04 05 06]'; Price = [99 58 94 58 87 91]'; [minimun,idx]= min(Price); MinMonth=Month(Price==mini...

5 years ago | 1

Channel


DLObjectDetectionCounting

5 years ago

Answered
Hi, how to adding value to array in existing array ?
Solution is to save the array in .mat file, therefore, for next time to run the script, it will load the mat file, and add new v...

5 years ago | 1

| accepted

Answered
Storing vectors in a cluster?
a1=[2]; a2=[29 3]; a3=[3 2]; I will change them to cell array first for indexing, it is always my preference. a(1)=num2...

5 years ago | 2

| accepted

Answered
How to show a rigidbodytree model in App Designer axes?
Hi Yi Wan, Yes, it is working with specify the 'Parent', which axes to host the show(). show(robot,'Parent',ax2) [Upd...

5 years ago | 0

| accepted

Answered
how can I do this mathmatical operation?
I guess what you want is for i=1:2:(length(a(:,3))-2) b(i)= a(i,3)-a(i+1,3)+(a(i+2,3)-a(i+1,3)) end b(2:2:end...

5 years ago | 0

| accepted

Channel


Dew Point Measurement

5 years ago

Answered
How to change the scale of the x-axis & y-axis?
you may use xlimit() or ylimit() to rescale your plot. <https://www.mathworks.com/help/matlab/ref/xlim.html>

5 years ago | 0

Answered
how to store values in second column of cell array
for i=1:1:length(faceData) faceData{i,2}=ceil(i/5); end Add the code above to the below of your code. Kindl...

5 years ago | 0

| accepted

Answered
Error : Indices must either be real positive integers or logicals.
I think your error is from here nodes(iel,:) first you assign zero to nodes with 400 x 8 dimension nodes = zeros(...

5 years ago | 0

| accepted

Answered
How to reduce writing using cat command?
Hi, play some trick will do. x{1,1} = [1 1 3; 4 5 6]; x{1,2} = [1 2 3; 5 6 7]; x{1,3} = [1 2 3; 4 5 6]; y1 =[]...

5 years ago | 0

| accepted

Answered
How to set ItemsData using external file (App Designer)?
Hi gage benham, *1st Step :* load your mat file. Make all the variable display in your drop menu automatically. filen...

5 years ago | 1

Answered
Grouping Plots within an Axes
Use indexing, Element(i,num_group) = plot(Element1_x, Element1_y); when delete all your elements in group 1, delete...

5 years ago | 0

| accepted

Answered
make a loop for plotting diagrams
C = cat(3, XA20120601, XB20120704, XL20110603, XD20140403, XC20130531 , XB20090314, XA20110801, XA20080704, XL20170603, XB20...

5 years ago | 0

Answered
Function Call not working properly
t = linspace(-10,15,26); plot(t, x_general(t)) function [x_out] = x_general(x_in) x_out = zeros(1,length(x_in))...

5 years ago | 0

Question


Single precision and Double Precision (Looking for explanation why are they different in the "gap" of precision number)
Hi, guys, i'm not sure whether i'm using correct term to ask about it or not. As per my understand, the gap between single p...

5 years ago | 1 answer | 0

1

answer

Submitted


How to Call Python Library Function in MATLAB (Basic)
In this script, it explains how to call python library function in MATLAB.

5 years ago | 3 downloads |

Thumbnail

Answered
Transform column data to m x n matrix
Hi The best solution is : Drag your excel and drop it in MATLAB command window. It will pop out a app for you to config...

5 years ago | 0

Answered
Plot part of data
plot(t.Amp(t.Amp<0.2000))

5 years ago | 0

Answered
How to compile matlab .m to java using Application Complier
You need library compiler (MATLAB Compiler SDK), MATLAB compiler merely allow you compile to exe. file. If you have installed...

5 years ago | 0

| accepted

Answered
How to import sensor data in matlab?
Hi The best solution is : Drag your excel and drop it in MATLAB command window. It will pop out a app for you to confi...

5 years ago | 1

| accepted

Answered
Inverted pendulum with animation
In your MATLAB command window openExample('simulink_general/penddemoExample')

5 years ago | 0

| accepted

Submitted


Stock Prediction Using ARIMA
Use ARIMA Model to predict real life stock data

5 years ago | 41 downloads |

Thumbnail

Submitted


GDP Prediction Using ARIMA and NAR Neural Network
It is comparing the GDP Prediction using ARIMA (Autoregressive Integrated Moving Average) and NAR (Nonlinear Autoregressive Neur...

5 years ago | 9 downloads |

Thumbnail

Answered
How to get statistical summary
A = ["Step" "Step" "Double" "Stop" "Continue"]; B = [ 34 56 23 123 0] [c,~,d] = unique(A); out = [c',accumarray(d,B),coun...

5 years ago | 0

Answered
Subplots with titles in the loop
Try indexing _name_ for each figure. name(bb)

5 years ago | 0

| accepted

Load more