Community Profile

photo

Konrad


Universität Freiburg

Last seen: 2일 전 2017년부터 활동

통계

All
  • Personal Best Downloads Level 3
  • GitHub Submissions Level 3
  • Knowledgeable Level 3
  • 6 Month Streak
  • Knowledgeable Level 2
  • 5-Star Galaxy Level 3
  • First Review
  • First Submission
  • First Answer
  • Solver

배지 보기

Content Feed

보기 기준

답변 있음
I need to calculate the distance matrix between these locations in ev charging stations placement
Hi, let's say you have 10 2d coordinates of charging stations pos = rand(10,2); Then one efficient way of computing the dista...

4개월 전 | 1

답변 있음
Interpolating the indexes of values in a Vector
Hi, use interp1(): a = [2 4 6 8 10 12 14 16]; b = [6, 5, 4.5, 14.3]; interp1(a,1:numel(a),b,'linear') % 'linear' is also the...

6개월 전 | 0

답변 있음
How to save and load all the states of checkboxes and etc
Hi Ron, here is something I recently used in an App Designer GUI: The App needs a property 'config' and the following method...

1년 초과 전 | 0

| 수락됨

제출됨


zipToolsPy
provides basic tools to read content from zip files

거의 2년 전 | 다운로드 수: 5 |

Thumbnail

답변 있음
How to populate a new vector by extracting only certain elements from another vector?
Hi Loren, if understood your question correctly, this should do what you want: load('reticolo2D.mat'); [Xpix, Ypix] = meshgri...

거의 2년 전 | 0

| 수락됨

답변 있음
How to filter an entire dataset of ecg signals
Hi basically, you already described what to do: use load to import the data use designfilt to get filter parameters --- EDIT:...

거의 2년 전 | 0

| 수락됨

답변 있음
View and Commit Changes dialog is blank
Hi I had the same problem with 2020b (win10) when using 2 displays with the main matlab windows moved to the secondary displa...

거의 2년 전 | 0

답변 있음
reading multiple text file from two different folders using nested for loop
Hi Salma It depends on what exactly you want to do with the data in the text files, but reading the file line by line seems to ...

거의 2년 전 | 0

답변 있음
Getting camera viewing data in real time
Hi, you can link the Camera-properties of the axes: figure; ah(1) = axes; figure; ah(2) = axes; plot3(ah(1),rand(10,1),rand(...

대략 2년 전 | 1

| 수락됨

답변 있음
Randomly generate a vector containing integers. Extract items from odd positions using a single command line
Hi Dacian, indexing an expression (e.g. randi(100,10,1)(1:2:9)) is not possible in Matlab. Here is a workaround using groupsum...

대략 2년 전 | 0

| 수락됨

제출됨


PyColormap4Matlab
Simple Matlab and python script that import colormaps from matplotlib into Matlab.

대략 2년 전 | 다운로드 수: 50 |

Thumbnail

답변 있음
How to open .hdr files (paired with zipped .img files)
Hi David, hdrread is not for radiological images but for high dynamic range images. You are dealing with the nifti file format...

대략 2년 전 | 0

| 수락됨

답변 있음
find the average pixel value of matrix of images
Hi Michael, allImages{i} = ... creates a cell-array containing the images. If your images are all grayscale and of the same si...

2년 초과 전 | 0

답변 있음
How to call python Script in specified environment in Matlab?
Hi, please see this answer by Walter. I think pyenv() affects only python calls using the py.-prefix. But calling python via s...

2년 초과 전 | 1

| 수락됨

답변 있음
How to recenter spatial data?
hi, maybe I didn't get it, but why not just add 180? lonW = lon + 180;

2년 초과 전 | 0

| 수락됨

답변 있음
Precision of numbers problem (I think)
Hi Phillip, yes, it has to do with precision. ismember(phys_diffs,new_data(:,2)) % ans = % 1×7 logical array % 1 0 ...

2년 초과 전 | 0

답변 있음
Mean and median at each interval
Hi data = readtable('Data.xlsx'); % read data data = data(~ismember(data.Volume,[0 1]),:); % exclude rows where volume=0 or vo...

2년 초과 전 | 0

| 수락됨

답변 있음
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

2년 초과 전 | 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...

2년 초과 전 | 0

| 수락됨

답변 있음
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...

2년 초과 전 | 1

| 수락됨

답변 있음
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...

2년 초과 전 | 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...

2년 초과 전 | 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...

2년 초과 전 | 1

| 수락됨

답변 있음
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

2년 초과 전 | 1

| 수락됨

답변 있음
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 ...

2년 초과 전 | 1

| 수락됨

답변 있음
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...

2년 초과 전 | 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...

2년 초과 전 | 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...

2년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 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년 초과 전 | 0

| 수락됨

더 보기