Community Profile

photo

Benjamin Großmann


Last seen: 2년 초과 전 2016년부터 활동

Followers: 0   Following: 0

Traffic Engineer

통계

All
  • 5-Star Galaxy Level 4
  • Knowledgeable Level 3
  • Revival Level 1
  • Personal Best Downloads Level 2
  • 3 Month Streak
  • MATLAB Central Treasure Hunt Finisher
  • First Submission
  • Knowledgeable Level 2
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

답변 있음
How can I save a UIaxes-figure in a Matlab-Web-App by button callback
You can use exportgraphics(obj,filename) to write a graphics object obj to filename on the web app server temporarily. Afterward...

2년 초과 전 | 0

답변 있음
What MATLAB functions are underappreciated?
arguments declaration within functions, introduced in 2019b, is very powerful (pythonic? ;-)) for writing generic and reusable f...

거의 3년 전 | 0

답변 있음
Batch input for image preprocessing and KNN classification
You could do one of these three things (incomplete list): Use an imageDatastore object for your image collection and the ReadF...

거의 3년 전 | 0

| 수락됨

답변 있음
how to plot 2D contour lines from the data file
contour(x, y, z) gives you the contour plot, z is the intensity value Contour plot of matrix - MATLAB contour EDIT: To create...

거의 3년 전 | 0

답변 있음
How to merge two matrixes by position vector?
Maybe this works. Hard to tell because the randi images are not so comparable to your image. Basic idea is to combine the coord...

거의 3년 전 | 0

답변 있음
How to write a function that utilizes unit vectors?
If you can calculate the vector components (i.e. directions) than you only have to arrange them into an array. Suppose that you ...

거의 3년 전 | 1

| 수락됨

답변 있음
Same code line works outside but not inside for loop.
The problem is, that the xlsx file contains protected spaces ( char(160) ) and you are comparing to normal spaces. Quick and v...

거의 3년 전 | 0

| 수락됨

답변 있음
How to load and and open multiple files in one loop?
I do not see the definition of Ftarget1ref. Moreover, the variable "filename" is overwritten in every step of the for loop. I r...

거의 3년 전 | 0

| 수락됨

답변 있음
Trying to build an app for user to define dimensions for a m*n grid that can tell the app to automatically make the dimensions of check boxes that were requested.
In app designer add two "edit field (numeric)", name the first one editN and the second one editM. Next, add a button, named "Bu...

거의 3년 전 | 0

| 수락됨

답변 있음
how to add variable to array
Okay, maybe I understood the problem: If you have an array of PPG and ECG values and a constant fs you could do something like:...

거의 3년 전 | 0

답변 있음
show a digit matrix with segmentation line
matrix = [ 1 1 1 1 2 2 2 2; 1 1 1 2 2 2 2 2; 3 3 3 3 3 2 2 2; 3 3 3 3 3 3 3 3]; heatmap(matrix, 'Colormap', [1 0 0; ...

거의 3년 전 | 0

답변 있음
Finding the maximum time of ode45
The max function is able to output the index of the max value: [ymax, idx_max] = max(abs(y)) tmax = t(idx_max)

거의 3년 전 | 0

| 수락됨

답변 있음
Question regarding strange outputs from histogram plot
If you do not provide any code, it is hard to tell what went wrong here. If I use your image, everything looks fine: imageURL =...

거의 3년 전 | 0

| 수락됨

답변 있음
How can I save the output in a loop to an external text file?
There are a few problems inside your loop. In each step you set m equal to zero and increment it to one. So m is not growing as ...

거의 3년 전 | 0

| 수락됨

답변 있음
How to plot this equation?
I assume that p is a dependent variable (pressure?), r is radius (spatial), and t is time (temporal). With this assumption, you ...

거의 3년 전 | 0

답변 있음
Source and Target to simmetrical adjacency matrix
Use graph(source, target) for undirected graph or digraph(source, target) for directed graph to define a graph. I assume you hav...

거의 3년 전 | 1

답변 있음
How to recover check box value?
get(chkBox, 'Value') as well as chkBox.Value should work with visible and invisible uifigures equally. % Create invisible uifig...

거의 3년 전 | 1

답변 있음
Removing values from plot and applying curve
You can remove values from an array by setting them to empty. Use logical indexing to address the values that you want to delete...

거의 3년 전 | 0

| 수락됨

답변 있음
Merging pdf without ghostscript
Four years later ... I contributed a tiny function to FEX to merge multiple pdfs without third party tools: mergePdfs - File Ex...

대략 3년 전 | 4

답변 있음
Multiple plots to one pdf
Save each figure to one pdf-Document (using print, exportgraphics, ...) and try out my new FEX submission to merge the pdf-docu...

대략 3년 전 | 0

답변 있음
SIMILAR COMMANDS FOR CREATING .TXT FILES
You can use dlmwrite to write an array into a text file and specify the delimiter or use fprintf to have more control about the ...

거의 4년 전 | 0

답변 있음
Save a .FIG as .JPG (syntax error?)
To save a jpg with saveas() you have to give a proper figure handle (at least gcf) as first argument and change '.jpg' to 'jpeg'...

거의 4년 전 | 1

| 수락됨

답변 있음
deleting a part of a column - date to date??
clearvars close all clc % lets create the date column (I only use 1 hour with increment of 1 minute), but this should works...

대략 4년 전 | 0

| 수락됨

답변 있음
How to create a confusion matrix.
Lets use the cifar10 demo included in Matlab for your question clearvars close all clc load('Cifar10Labels.mat','trueLabel...

대략 4년 전 | 0

답변 있음
How to detect the black line from a captured image?
If you print it out and make a photo, then black is not pure black any more but some kind of grayish or with some kind of color ...

대략 4년 전 | 0

답변 있음
plot Datetime on x Axes
There are mainly 2 possibilities You can use datetick() to format your x axis ticks to date or time values You can define your...

대략 4년 전 | 0

| 수락됨

답변 있음
Run a script for all subfolders
You can use the asterisk (*) as wildcard to generate a file pattern and the dir command to get a struct of all the matching file...

대략 4년 전 | 1

| 수락됨

답변 있음
How to write this matlab code?
In Matlab, you could write something like B = rand(8760, 30); % matrix B of size 8760x30 with random values P = rand(30, 1); %...

대략 4년 전 | 0

답변 있음
Help!!! How to browse text file data to another function
It seems that you access the value of the button, which is not what you intend to do. What you probably want to do is to share d...

대략 4년 전 | 0

답변 있음
i want to generate a sequence of n numbers
You can create sequences with the colon operator (:), for exapmle v = [4:2:100]; creates v = [4, 6, 8, ... , 100] with values ...

대략 4년 전 | 1

| 수락됨

더 보기