Peter Borda
Followers: 0 Following: 0
Statistics
RANK
20 740
of 300 338
REPUTATION
2
CONTRIBUTIONS
8 Questions
2 Answers
ANSWER ACCEPTANCE
62.5%
VOTES RECEIVED
2
RANK
of 20 922
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Documentation for protected/private methods
Hello! I find the Matlab built-in solution for automatically generating classdef documentation page to be quite a handy solutio...
ungefär 5 år ago | 0 answers | 1
0
answersQuestion
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...
mer än 8 år ago | 0 answers | 0
0
answersQuestion
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...
mer än 10 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 10 år ago | 2 answers | 0
2
answersSolved
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
mer än 10 år 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...
mer än 10 år 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:...
mer än 10 år ago | 1 answer | 0
1
answerSolved
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...
nästan 11 år 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...
nästan 11 år 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...
nästan 11 år 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 ...
nästan 11 år ago
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...
nästan 11 år 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...
nästan 11 år ago | 1 answer | 0
1
answerSolved
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
nästan 11 år ago
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...
nästan 11 år 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 ...
nästan 11 år ago | 1 answer | 0
1
answerSolved
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...
nästan 11 år 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...
nästan 11 år 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...
nästan 11 år 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 + ...
nästan 11 år 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...
nästan 11 år 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...
nästan 11 år 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...
nästan 11 år 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...
nästan 11 år 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...
nästan 11 år 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...
nästan 11 år 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...
nästan 11 år 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 ...
nästan 11 år ago


