Community Profile

Mike Mierlo van

Last seen: 16 días ago
14 total contributions since 2019

View details...

Contributions in
View by

Question

Change text to numbers in a cell
Hi all, Lets say I have 4 x 2 cell matrix A: 1 'text one' 'text two' 2 '5' 'text two' 3 'text ...

3 meses ago | 2 answers | 0

2

Question

Find the index of the first integer of an array in another array
Hi, I want to find the index of the first integer of an array in another array. For example. I have array A = [ 0 0 0 ] and I...

3 meses ago | 1 answer | 0

1

Question

convert vector of doubles to a cell of strings
Hi, I have the vector A=[0;1;0;1]; I want to convert this into the cell array A 4 x 1 cell array {'no'} {'yes'} {'no'} {'...

4 meses ago | 1 answer | 0

1

Question

Convert a cell of 'yes' and 'no' into array of 1 and 0
Hi guys, I have a problem converting a cell of 'yes' and 'no' (string) into array of 1 and 0 (double). Lets say I have the fo...

4 meses ago | 2 answers | 0

2

Question

Seperate rows in matrix based on values of the elements.
Hi, I have simplified my 'multiple radar' problem into this: Lets say I have matrix A, consisting of columns 1 (timestamp) and...

5 meses ago | 1 answer | 0

1

Question

readmatrix with numbers and text from .csv file
Hi guys, I have a very large .csv file to read which contains text and numbers. To explain I have a very simplified .csv file b...

7 meses ago | 1 answer | 0

1

Question

For loop for a comparing values of a column vector with a value
Hi, I want to perform the following, but I get unexpected outcome. The plan is: 1: make column vector ‘costs’ 2: for ever...

8 meses ago | 1 answer | 0

1

Question

Get every first value above a treshold out of an array
Hi guys, Lets say I have an array with elements with A = [1 2 3 4 5 6 2 3 4 5 6 3 4 5 6 7 8 1 2 1 2 1 2 3 4 5 6] Now I want ...

8 meses ago | 2 answers | 0

2

Question

How to store vectors from each for loop in a matrix
Hi I have a for loop. The result of every iteration is a rowvector. I want all rowvectors of the for loop stored as one matrix. ...

10 meses ago | 1 answer | 0

1

Question

Surf plots 2D + color. I want a 3D plot. What is the solution?
I have the following code: if true x= 30:0.1:50; y= [100:0.1:150]'; Z= x.*y; surf(x,y,z) end I want to have a 3...

11 meses ago | 1 answer | 0

1

Question

How to get a matrix of all maximum values of elements of multiple matrices of the same size?
I want to get a matrix filled with elements that are the highest number of the element in other matrices on the same location in...

11 meses ago | 1 answer | 0

1

Question

how to perform a vectorized operation with an array of multiple random numbers?
I want to perform multiple vectorized operations with the following numbers: v_tank = 10.*rand(100,1)+35; The code is: clear ...

11 meses ago | 0 answers | 0

0

Question

Why does my plot not display the 50 values of t_operation?
I want to plot t_operation for 100<x<150. I tried this code, but it does not work. I do not understand why. clear all; close al...

11 meses ago | 1 answer | 0