photo

Gayan Lankeshwara


Last seen: fast 2 Jahre vor Aktiv seit 2020

Followers: 0   Following: 0

Statistik

All
  • Thankful Level 3
  • First Review
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Finding row indices of a cell array containing a certain element
I hae the following cell array. arr = cell(4,1); arr{1,1}=1:3:15; arr{2,1}=2:2:20; arr{3,1}=3:3:30; arr{4,1}=0:4:10; %...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Obtaining half-spaces from the convex hull in MATLAB
I have determined the convex hull of certain points in 2-D plane using convhull function in MATLAB. For example, P = [0 0; 1 1...

fast 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Can I use ismember to compare a vector with a matrix
Hi there, Imagine I have an array and a matrix as below. array_sample = [10;20;30] matrix_sample = [15,35,10;22,33,44;55,25,3...

etwa 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How can I modify the datetime ticks used in heatmaps
I am using datetime ticks to represent the x-axis as given in the following MWE code. %% random heatmap h1 = heatmap(rand(60))...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using a Matlab file as an input argument in a function ?
Assume that I have a sampledata.mat array and I have to input it into a function myfun. I have defined the function as below....

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is it possible to export a figure in Live editor as .eps
I just need to know whether I can export a figure in the Live Editor as .eps ? I can only find options to export as .png, .pdf,...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Changing the xticks in a heatmap to a datetime ticks
I need to change the xticks of the following matrix to be in datetime format. randMatrix = rand(5,10) heatmap(randMatrix) If...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Creating a mesh plot with data in a timetable
Hi there, Assume that I create a time table based on a matrix as follows. X = rand(5,3); Time = seconds(1:5); TT = array2tim...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Problem with generating random numbers when performing a Monte carlo simulation in Matlab ?
Hi there, I am performing a Monte carlo simulation and this is the code for it. clc; clear all; num_simulations = 1000 ...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to generate a random number from a user defined discrete uniform distribution in Matlab ?
Hi there, Imagine that I have written the following code in MATLAB. numItems = 100 ; Levels = [0.25, 0.5, 0.75, 1.0] prob = ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


The figure window remains unresponsive after copying a figure in MATLAB ?
Hi there, I am running MATLAB on a MacBook Air installed with macOS Catalina 10.15.4. When I try to generate a figure and copy...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to utilise the MATLAB debugger mode to initialise a random iteration in a FOR loop ?
Hi there, Just imagine that I have a for loop in a code as show below. for count = 1 : 100 do something end I have foun...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to change certain values of a column in a table depending on a certain time range ?
Hi there, I have an array Total and then I created a timetable to combine them together. t1 = datetime(2020,04,01, 0,0,0); t2...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort