Community Profile

photo

Marcel


Last seen: 12 months ago Active since 2022

I love programming. Im a electrical engineer and doing stuff in blender as well as 3d printing and a few other things. Im not hunting for best practices, but also not making bad code intentionally.

Programming Languages:
Python, Java, C#, PHP, Javascript, MATLAB, SQL, HTML, CSS, Arduino, Shell
Spoken Languages:
English, German, Russian
Professional Interests:
Programming, Modeling, Electrical and Computer Engineering, Mechanical Engineering, Additive Manufacturing and 3D Printing

Statistics

All
  • Thankful Level 2
  • Knowledgeable Level 2
  • MATLAB Central Treasure Hunt Finisher
  • Solver
  • First Answer

View badges

Content Feed

View by

Answered
How to load variable from function workspace to Base workspace ?
I used to save some information like in this example function SaveJob(~, filename, importJob) save("path\dir\" + f...

1 year ago | 0

Question


Change Pixel in image - optimize code
Hi. Im trying to loop through all the pixels of a thermal camera image i saved. i want to replace certain colors, lets say red ...

1 year ago | 1 answer | 0

1

answer

Answered
Can someone help please?
I'd recommend using keywords to make a short and nice title for questions

1 year ago | 0

Answered
How can convert dat files to xls files in matlab
I dont know your code or anything but you can try reading the dat file and exporting it into a excel file writecell(cellstr(arr...

1 year ago | 0

Answered
How to write data on excel right after the cells that are written
You can append content to a excel file like that. writecell(cellstr(example_array), "file.xlsx", 'WriteMode','append');

1 year ago | 0

Question


"Select a Web Site" Popup - 200% annoying - breaks experience
This popup keeps coming on each site every single time. Even if i reload the same site. When i choose something, it wont disappe...

1 year ago | 0 answers | 1

0

answers

Answered
Unable to write data into excel file in append mode
Im using this code to append text to a excel file. You can also use the parameter "Range", "A1:G1" (untested), but you'd need to...

1 year ago | 0

Question


Who owns the copyright of the code?
Hi. So im working in a industry and the company is paying for the license and im the one using it and making programs on demand...

1 year ago | 1 answer | 0

1

answer

Answered
append (a row) to the end of an excel sheet
This is how im appending text to a xls file. cellstr("Test") would be your data writecell(cellstr("Test"), "file.xls", 'WriteM...

1 year ago | 0

Answered
Resize cell array to match size of second cell array
Okay so i came up with a working solution after intense debugging and frustration so big depression would be a joke. Basicall...

1 year ago | 0

| accepted

Question


Control 6 Stepper Motors like a 6 Axis Robot
Hi im building a 6 axis robot at home and im currently using an arduino. The movement works etc but now i need to do Kinematics ...

1 year ago | 0 answers | 0

0

answers

Answered
Add columns to excel file
Im not sure if this is going to help you, but im writing data into a table, and i was asked if i could export that to a xls file...

1 year ago | 0

Question


Resize cell array to match size of second cell array
Hi i have two cell arrays like the following where im using a camera for measuring temperature. Wire, Body and Lense are dynamic...

1 year ago | 1 answer | 0

1

answer

Answered
How much time MATLAB takes to train image data of 495MBs
I think its fair to say that this depends a lot. For example the bigger the image resolution, the more time it would need to be ...

1 year ago | 0

| accepted

Answered
Problem with "ls" command
I think there is a small error. This works fine because the file path is a directory. >> T=ls('D:\2022_11_08_001_FWHM\20221011_...

1 year ago | 0

Answered
Input function must return 'double' or 'single' values. Found 'sym'.
Have you tried double(yourVarHere) ? This way you can convert your variable to the expected double and you could try if this fi...

1 year ago | 0

Question


Add new row to UITable
Hi i've done some research and was curious if there was a more "effecient" way on how to add new rows with data to a UITable in ...

1 year ago | 0 answers | 0

0

answers

Answered
MOBOTIX M16D-Thermal-TR Integration
Managed to fix it myself by reading the meta data from the image file

1 year ago | 0

| accepted

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

1 year ago

Question


MOBOTIX M16D-Thermal-TR Integration
Hi i would love to use Matlab with the "MOBOTIX M16D-Thermal-TR" Camera. The problem is i need to get the temperature values fro...

1 year ago | 1 answer | 0

1

answer

Answered
extract data from a specific line of a txt file
Maybe you can adobt the code i once made on github. matlab-tricks/R2021b/xml-config-like at main · hackthedev/matlab-tricks (gi...

1 year ago | 0

Answered
Where should user preferences be stored?
I used to save files in a xml like config file (.txt) and store stuff like the color settings of my application as well as other...

1 year ago | 0

Answered
How are workspace variables from data files stored?
In matlab the variables in the workspace can be saved my rightclicking on them and pressing "Save as". Pretty sure you can selec...

1 year ago | 0

Answered
Extracting first element of multiple arrays within a cell
if i get it right and you just want to select values from this "table", its showing you on how to access them.

1 year ago | 0

Answered
what am i getting a syntax error when i run this code?
Okay so after using this code function [mmr,mmm] = minimax (M) mmr = abs( max(M(:)) - min(M(:)) ); mmm = max(M(:)) - ...

1 year ago | 0

Answered
How do you recognize an empty line?
I think there are many ways to check this. you can try to check in many ways. just take a look at the example below. be creativ...

1 year ago | 0

Answered
how can i connect between these squares in a line from the centers ????
If you know the coordinates, width and height of each square, you can use the X and Y coordinates to get the top left corner of ...

1 year ago | 0

Answered
Hi, I am trying to create a dropdown list search in AppDesigner, that look for a string within the word, not just at the start.
EDIT I changed the code as it didnt work 100%. Now it should. Okay so i might have managed to make a solution. Im pretty sur...

1 year ago | 0

| accepted

Answered
How to overwrite average values to same class (or label)?
Not sure what you are exactly trying to do, but you can programmatically insert data into e.g. a UITable using this % Left side...

1 year ago | 0

| accepted

Answered
how do add a line between two points on an existing graph and calculate the area in between
I dont know if this helps but i used to make a picture, draw a line on it and calculate the distance of the line i had drawn and...

1 year ago | 0

Load more