Community Profile

### Universität Freiburg

Last seen: Today Active since 2017

All

#### Content Feed

View by

Auto update row index to match the variable length
Hi you can use b(1:numel(a),k) = a if k is scalar. Best, K

ein Tag ago | 0

Wie kann ich einen unbekannten String in einem Array finden? | finding an unknown string in an string array
Hi Patrick wenn ich richtig verstehe möchtest Du alle strings im array finden die mit * anfangen?! Das kannst Du so machen: st...

ein Tag ago | 0

| accepted

String to number from array
Hi Nicle you need str2double() (or str2num()), not double(). double() gives you the UTF(?) code corresponding to the input st...

6 Tage ago | 1

| accepted

Why am I getting wrong outputs with this MATLAB code?
Hi, i've rewritten the code without all the hard-coded indices, which I couldn't make sense of and which made your code very ha...

18 Tage ago | 0

enter a string of characters and numbers, add and return the sum of the numbers in matlab, for example: 'there are two blue birds and 4 red birds on the branch'--> return 6
Hi if you only need to handle numeric type, I'd recommend regular expressions: strng = ' 2 blue birds and 4 red birds'; res_s...

25 Tage ago | 0

Get values of the particular line from surf plot
Hi Ramesh, the contour3() function returns the contour matrix (see help) containing x- and y-coordinates of the contour. You ca...

25 Tage ago | 1

| accepted

Calculate mean of matrix for specific interval
Hi Pelle, you need to index your variable DEM correctly: DEM_mean2 = mean(DEM(11:110,:)); Best, Konrad

26 Tage ago | 1

| accepted

Animation video from data points, giving error below
Hi Muhammad, it seems that the video you are trying to create is too large to fit into memory. You can either run the code on ...

26 Tage ago | 1

| accepted

could someone please tell me why my code returns complex answers while it is about room temperature ?
Hi, One quick guess: in your equation (eqn(number_of_nodes) = ...) you are raising to the power of .24, which means you are ta...

etwa 2 Monate ago | 0

Help reorganizing data in a table
Hi Andrew, I think unstack() is what you're looking for: T=readtable('example_sheet.xlsx'); uT = unstack(T,{'Duration' 'Ratin...

etwa 2 Monate ago | 0

Is it possible to extract 2 separated sections from the same table?
Hi Ruth, you can create indices into rawdata for your subjects and pilots programmatically like this: filename='RES_IAS (1).xl...

etwa 2 Monate ago | 0

| accepted

3D bar graph of Z with data in X Y Z array
Hi, provided that x and y are always positive integers, this may be a good start: tab = readtable('XYZ_Data.txt'); zarray = z...

2 Monate ago | 1

How do I plot points coming from a for loop without using vectors?
Hi, values on the x-axis are not equally spaced because on every interation you increase L by i, which itself is increased by 1...

2 Monate ago | 0

| accepted