Community Profile

photo

Nikolas Spiliopoulos


Last seen: 9 mesi fa Attivo dal 2016

Statistics

  • Thankful Level 5
  • First Review

Visualizza badge

Content Feed

Visto da

Domanda


Get every 4 values of a vector and change values
Hi all, I have a vector like this a= [1 1 0 0 1 1 1 1 0 1 0 1 1 0 0 0 0 0 0 0 1 1 0 0] So I would like to take every fou...

11 mesi fa | 2 risposte | 0

2

risposte

Domanda


Change certain values in a matrix
Hi all I jhave a matrix A A=[1 1 0 0 1 1 1 0; 0 0 1 1 1 1 0 0; 1 1 0 0 1 1 0 1; 1 1 1 1 1 1 1 1; 1 1 1 1 1 1 1 1] I would lik...

11 mesi fa | 0 risposte | 0

0

risposte

Domanda


HMM viterbi algorithm linked to values
Hi all, I have used the HMM toolbox, using 4 states (Each states can take numbers from 1 to 6). Then I apply the viterbi a...

12 mesi fa | 0 risposte | 0

0

risposte

Domanda


interpolate data in timeseries
Hi all, I have a timeseries vector lets say with 7 points : v=[0.18 3.15 0.18 0.16 0.17 0.58 0.33 ]; I would like to cre...

12 mesi fa | 2 risposte | 0

2

risposte

Domanda


cut of zeros from a matrix based on the longest non-zero row
Hi all, I want to cut all zeros from the right, based on "the longest non zero row". an example: A=[ 1 2 0 0 0 0;3 4 5 0 0 0...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


How HMM viterbi algorithm works
Hi al, I am new in using HMM so I have created a simple example, where a random sequence is generated and then the states are ...

circa un anno fa | 0 risposte | 0

0

risposte

Domanda


Synthetic data with monte carlo
Hi all, I would like to create synthetic data from a given timeseries, using monte carlo simulation. I assume a normal distrib...

circa un anno fa | 0 risposte | 0

0

risposte

Domanda


Non convex objective funtion
Hi there, I a have an objective function which in some areas is not convex. Is there any way to relax it and then use fm...

circa un anno fa | 0 risposte | 0

0

risposte

Domanda


Clear symbolic from an equation and make it mathematical function
Hi all, I have an equaton of x, using syms x to create it. However afterwards I want to clear the symbolic value and conver...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


Change stem colour of particular values
Hi there, I have a stem plot with 66 points and I would like to change the colour of particular valuesonly. Mpre specifica...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


lenend keep only text
Hi all, I want to put 3 text phrases in a legend wuth red, green, and blue colour respectively (example: 'one' (red), 'two' (...

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


Matlab Error "X, Y, Z, and C cannot be complex"
Hi all, I am trying to plot a surface however, I get an error "X, Y, Z, and C cannot be complex." which means, apparently ther...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Solve Inequality with inequality constraints
Hi there, i am trying to "solve" an inequality (actually looking for the area of possibel solutions), I have tried this. ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


sort boxplot based on 25-75th percentiles
Hi all, I have a figure with 3 boxplots in it (different colors each of them) However, I would like to sort them...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Barcharts colours based on other vectors
Hi all, I have 3 vectors a,b,c with 4 numbers in each of them I create another vector d with all the values of vectors a,b...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Change colour in stem plot, for only particuar values
Hi all, I have a vector that I need to create a stem plot. However, i would like to put a different colour to the 4th and...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


convert a double matrix in cell within a table
Hi all, I have a table with size 420x4 (screenshot attached) However, the first column is a double matrix (420x4) while th...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Filling a vector with ones based on a given value
HI all again, I have one vector A and a matrix B: Vector A has integers values from 0 to 6, A=[0 1 3 2 0 4 5 2 1 6]' (colum...

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


find values in an cell array
Hi all, I have an cell array that is like the one in the screenshot (see attached file). I would like to find in each ro...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


add to extra elements every 4 values and enter particular values
Hi all, I have a vector [1x24] and I would like to add 2 extra elements every 4 elements, so the new vector will be [1x32]....

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Compare the rows of an array with another one's array
Hi all, I have an Array A with dimensions [3500 x 5] And a second array B with dimensions [13x5] How can I check every ...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Find missing elements of a vector
Hi all, I have a vector =1:1:80; I have a vector with these numbers=[ 1 3 5 12 34 44 55 62 63 68 69 70 72 75 79]; How can I g...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


GA optimization within constraints
Hi there, I am trying to use GA for my first time, so I am a bit confused. I have seen some simple example where you defin...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


fmincon convergence - confusion with F-order optimality and Feasibility
Hi all, I have am running optimization using fmincon however I am not sure if the results are satisfying. I am a bit confu...

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


Plot multiple errorbars in pairs
Hi again, I have plotted some errorbars using the commands you suggested in my previous question: x=1; y=8.35; sd=4.13; ba...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


plot a single Error bars
Hi all, I am trying to create one error bar but I am struggling a lot. I tried to read the matlab documentation about error ba...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Save figure as jpg with 600dpi
Hi all, I am trying to save some figures through coding, in jpg format and 600dpi. Hovewer I have tried these, but stil...

circa 3 anni fa | 2 risposte | 0

2

risposte

Domanda


Matlab error "out of memory"
Hi all, I am running an optimization using fmincon. Initially, I run it with 3 minutes timestep and it runs fine. Afterwards,...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Add a number every n values
Hi all, I have a question: If I have an array A=[ 1 2 3 4 5 3 0 2 8 3 2 1 0 3 2 0 0 1 1 0 3 1 5 3 2 8 1 0 3 2]; ...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


plot a vector with 3 axes
Hi all, I am trying to plot a vector in a graph with 3 axes, but I am confused how to do it. I tried with plot 3. The matr...

circa 4 anni fa | 2 risposte | 0

2

risposte

Carica altro