Community Profile # Marcel345614

Active since 2020

#### Statistics

• • #### Content Feed

View by

Question

Apply logical mask to every matrix in array
I have a 3D array of size 640x640x20 i.e. 20 matrices of size 640x640. In addition I have a logical mask of size 640x640. How ca...

nästan 2 år ago | 3 answers | 0

### 3

Question

Assign NaN to specific rows(based on criteria) for multiple table variables
I want to assign NaN to (time-)table rows that match a criteria (T.Var1~=1). I would like to do this for specific variables in t...

nästan 2 år ago | 2 answers | 0

### 2

Question

Matlab equivalent of python code to rotate an image
What is the matlab equivalent for the following python code: image = cv2.flip(imgage, 1) row,col = image.shape ce...

nästan 2 år ago | 2 answers | 0

### 2

Question

Replace 32767 with NaN in entire table
I have a timetable with some strange values(32767 (probably Inf)) in all columns of my table. How can I replace all these with ...

nästan 2 år ago | 1 answer | 0

### 1

Question

How to group data according to date in years?
I have a table with data of specific days of the year over a range of 10 years, e.g. 1.Jan.2013 12 8.Jan.2013 ...

nästan 2 år ago | 1 answer | 1

### 1

Question

What does ix=ismember(vars,["state","source"])| contains(vars,["lat", "lon", "timestamp", "damage", "event"]); do?
What does the code line ix=ismember(vars,["state","source"])| contains(vars,["lat", "lon", "timestamp", "damage", "event"]); ...

nästan 2 år ago | 1 answer | 0

### 1

Question

How to draw a number of colors from custom colormap?
I used the colormapeditor to change a predefined colormap the way I want it. Then I saved this custom colormap to the workspace....

mer än 2 år ago | 1 answer | 0

### 1

Figures appear on wrong spot in Matlab Livescript
I tried adding pause(1) at the end of each section and this solved the problem. But stil this is not the most satisfying solu...

mer än 2 år ago | 0

Question

Figures appear on wrong spot in Matlab Livescript
I'm using a Matlab Livescript with different text headers (text sections). In each section, Matlab is supposed to plot some figu...

mer än 2 år ago | 1 answer | 1

### 1

Question

Align text of different entries in legend
How can I align the text of different entries in the legend, e.g. align it with respect to the dot ? legend('h=1.5m','h=10.5m',...

mer än 2 år ago | 1 answer | 0

### 1

Question

How to design a lowpass filter?
I would like to filter the following data: Obviously the data shows some oscillations with a quite constant frequency. How ...

mer än 2 år ago | 1 answer | 0

### 1

Error message by using second legend
Using the following line instead, solved the problem. lgd2=legend(ax2,'Experiment','Simulation','Box','off');

mer än 2 år ago | 0

| accepted

Question

Two different grids on same axes
Is it allowed to do the following: figure ax1=axes() hold on x1=0.2:0.05:1 x2=0.1:0.1:1.2 %different axis p1=plot(x1,x1.^2...

mer än 2 år ago | 1 answer | 0

### 1

Question

Error message by using second legend

mer än 2 år ago | 1 answer | 0

### 1

Question

Save and load variables of different samples
I do experiments with different samples (let's say 10 different materials). After measuring all samples seperatly, I apply a Mat...

mer än 2 år ago | 1 answer | 0