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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 1

Canale


DLObjectDetectionCounting

oltre 7 anni fa

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 2

| accettato

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

| accettato

Canale


Dew Point Measurement

oltre 7 anni fa

Risposto
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>

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

Risposto
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(...

oltre 7 anni fa | 0

| accettato

Risposto
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 =[]...

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 1

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

Risposto
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))...

oltre 7 anni fa | 0

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Inviato


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

oltre 7 anni fa | 4 download |

0.0 / 5
Thumbnail

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 0

| accettato

Inviato


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

oltre 7 anni fa | 6 download |

4.1 / 5
Thumbnail

Inviato


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

oltre 7 anni fa | 2 download |

3.5 / 5
Thumbnail

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

Carica altro