Community Profile

photo

Peter Borda


35 total contributions since 2014

Graduate in 2014 at Budapest University of Technology and Economics as mechatronical engineer, with specialisation on vehicle mechatronics and modal analysis. I have been using Matlab since 2011 mainly for data processing and analysis, as well as for image processing.

Contact

Peter Borda's Badges

  • Thankful Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Question


Dependency analysis - Non-matlab file formats
Hello, is Simulink Project's Dependency analysis (DA) capable of recognising non-matlab file dependencies? For example, if I ha...

más de 3 años ago | 0 answers | 0

0

answers

Question


Assign value to array structure
Hi Everybody! I have an array of let's say 100 elements, each element is the same structure with like 10 fields. What I would l...

más de 5 años ago | 1 answer | 0

1

answer

Question


Debugging a nested function
Hello! I have created a code with nested functions in it. My problem is, that when I am in debugging mode and try to create a...

más de 5 años ago | 2 answers | 0

2

answers

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

más de 5 años ago

Solved


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

más de 5 años ago

Question


Date array to timestamp
Hello! I have an n x 1 cell array read from a file with date info in each cell, like this: DateValues = {'13:22:32';'13:...

más de 5 años ago | 0 answers | 0

0

answers

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

más de 5 años ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

más de 5 años ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

más de 5 años ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

más de 5 años ago

Answered
Is there any solution to fit plane onto sampling data?
I'm not sure if I understand the problem correctly, but if you have a high number of sample point on which you have to fit a pla...

más de 5 años ago | 0

Question


NaN elements during table data input - Matlab GUI
I have a simple gui with a table: three columns, all set to editable, containing texts. With an additional button I can append e...

más de 5 años ago | 1 answer | 0

1

answer

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

casi 6 años ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

casi 6 años ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

casi 6 años ago

Answered
How can I do same calculation with a lof of excel files in matlab?
I would put all the xls files in the same folder for start, use matlab's dir() function to get the file names in the folder, the...

casi 6 años ago | 0

Question


How is Matlab GUI generated?
It's just a general question I was thinking about recently. What is the mechanism of GUI's creation used by Matlab if we use ...

casi 6 años ago | 1 answer | 0

1

answer

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

casi 6 años ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

casi 6 años ago

Solved


Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

casi 6 años ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

casi 6 años ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

casi 6 años ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

casi 6 años ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

casi 6 años ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

casi 6 años ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

casi 6 años ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

casi 6 años ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

casi 6 años ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

casi 6 años ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

casi 6 años ago

Load more