photo

Tom Holz


Last seen: 8ヶ月 前 2012 年からアクティブ

Followers: 0   Following: 0

Programming Languages:
Python, C++, MATLAB, Fortran
Spoken Languages:
English

統計

All
MATLAB Answers

1 質問
6 回答

Cody

3 問題
1342 解答

ランク
2,843
of 300,756

評判
21

コントリビューション
1 質問
6 回答

回答採用率
0.0%

獲得投票数
6

ランク
 of 21,077

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク
62
of 170,890

コントリビューション
3 問題
1342 解答

スコア
15,510

バッジ数
56

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • Knowledgeable Level 2
  • 3 Month Streak
  • Cody Challenge Master
  • Matrix Manipulation III Master
  • Indexing III Master
  • First Answer
  • Logic
  • Sequences And Series II Master
  • Project Euler I
  • Introduction to MATLAB Master
  • Matrix Manipulation II Master
  • Strings II Master

バッジを表示

Feeds

表示方法

解決済み


Zero Out Negative Elements
Write a MATLAB function called zeroNegatives that takes a numeric vector v as input and returns a modified version where all neg...

8ヶ月 前

解決済み


Check if a Number is a Palindrome Without Converting to String
Write a function that checks if a given positive integer is a palindrome without converting the number to a string or using stri...

8ヶ月 前

解決済み


What kind of triangle?
Write a function named check_triangle that receives three positive integers as input: a, b, and c. These three numbers are inte...

8ヶ月 前

解決済み


x = 3
write a funciton to make the variable x = 3

8ヶ月 前

解決済み


x = 1

8ヶ月 前

質問


Is there a better way to enforce singleton behavior in AppDesigner applications?
When you click "Run" from inside the App Designer window, any existing instance of that app will be closed before a new one is c...

5年以上 前 | 1 件の回答 | 3

1

回答

解決済み


Split array into pieces according to corresponding array
An array x of length n has values 1...m with each value appearing at least once. The values are sorted (n>=m). A second...

6年弱 前

解決済み


Find the distance between runs
Another question inspired by the <http://uk.mathworks.com/matlabcentral/answers/?s_tid=gn_mlc_an answers forum>: A vector of ...

6年弱 前

解決済み


Find the same and successive values in a vector
Find the same and successive values in a vector. For example: Input x = [ 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 ] Start and end...

6年弱 前

解決済み


Combine Data With Gaps
Combine data sets a and b where the datasets have "gaps" or unique points. Example: Input a = [1,0; 2,1; ...

6年弱 前

解決済み


How close to a hole
Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...

6年弱 前

解決済み


How to reverse spdiags ?
The spdiags function extracts all nonzero diagonals from the m-by-n matrix A. So if A=[1 2 3;4 5 6;7 8 9], spdiags(A)=[7 4...

6年弱 前

解決済み


Find indices of diagonal elements
Given a matrix A and a diagonal index d (where 0 indicates the main diagonal and off-diagonals are identified by positive and n...

6年弱 前

解決済み


Find Elements in Range
Based on a question on <http://www.mathworks.com/matlabcentral/answers/ MATLAB Answers>. Find all the elements of a vector wh...

6年弱 前

解決済み


longest sequence of nans
In an array return the length of longest sequence of nans for each column. x = [ 2 3 1 2 5 6; nan nan 5 n...

6年弱 前

回答済み
Grouping into a table
In a situation like this, I usually plan out the table I want to see in advance, and then create variables that I can use to cre...

6年弱 前 | 1

| 採用済み

解決済み


I've got the power! (Inspired by Project Euler problem 29)
Consider all integer combinations of a^b and b^a for the integer values 2 ≤ a ≤ 4 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16,...

6年弱 前

解決済み


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

6年弱 前

解決済み


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

6年弱 前

解決済み


Shuffle
Shuffle a vector by breaking it up to segments of |n| elements, and rearranging them in a reversed order. For example, the ve...

6年弱 前

解決済み


Capitilize the first letter of every word in a string
For a given input string, capitalize every letter at the beginning of a word, and transform the rest of the letters to lower-cas...

6年弱 前

回答済み
Need a better way to loop through a Matrix column and then output the row
Something like this for k = 1:size(Nodal_Coordinates,1) % Find the index of the kth row ind = find(Nodal_Coordi...

6年弱 前 | 1

| 採用済み

回答済み
Is there a -batch option prior to 2019a, i.e., in 2017a
[ EDIT: the command-line below is wrong. See Edric and Steven's comments for the correct way to emulate batch functionality on o...

6年弱 前 | 0

回答済み
How to change pixels to a different colour with a greyscale image?
Here's a hacky approach that does the job: I = imread('CTimagem.png'); mask = I < 8000; Ired = I; Igreen = I; Iblue = I...

6年弱 前 | 0

| 採用済み

解決済み


Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...

6年弱 前

解決済み


Approximate the cosine function
Without using MATLAB trigonometric functions, calculate the cosine of an argument |x| to a precision of |0.0001| *Hint:* You ...

6年弱 前

解決済み


Size of this cup?
The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...

6年弱 前

解決済み


Simulate one complete step in the Biham–Middleton–Levine traffic model
The <http://en.wikipedia.org/wiki/Biham%E2%80%93Middleton%E2%80%93Levine_traffic_model Biham–Middleton–Levine traffic model> is ...

6年弱 前

解決済み


Data Regularization
Provided is an m-by-n integer data matrix A whose elements are drawn arbitrarily from a set *S* = [1,2,3,...,S] for any large in...

6年弱 前

解決済み


Find the Final State of an Abelian Sandpile
Let us define an <http://nautil.us/issue/23/dominoes/the-amazing-autotuning-sandpile Abelian sand pile> as a matrix that is only...

6年弱 前

さらに読み込む