Community Profile

photo

Carl Witthoft


Autoliv

Last seen: 1년 초과 전 2015년부터 활동

통계

All
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • First Answer
  • Commenter
  • Solver

배지 보기

Content Feed

보기 기준

질문


Help window is still a CPU pig - R2019a
Continuing the slew of complaints I've found for previous versions: more often than not if I leave the Help window open, in t...

1년 초과 전 | 답변 수: 1 | 0

1

답변

제출됨


newd
A "cd" replacement that allows use of tilde for home directory on Windows systems

거의 2년 전 | 다운로드 수: 2 |

답변 있음
Typecasting higher dimension matrices
If you know a little bit about your 2D array in advance, then try this - seemed to work for me Here I know my columns are 4*N ...

거의 4년 전 | 0

답변 있음
Obtaining all the indices of matached elements of one array in another
If your version of MATLAB isn't too old, look up help on intersect, to wit; [dat, idxa, idxb] = intersect(a,b,'stable')

4년 초과 전 | 0

제출됨


Replacement for CLEAR to avoid destructive behavior
this clear.m ensures you'll never accidentally type "clear" or "clear all" and wipe your workspace.

거의 5년 전 | 다운로드 수: 1 |

답변 있음
How to set legend marker size
Best way: see Stackoverflow question 2871747 % thanks to , Luis Mendo and Lea [~, objh] = legend({'one plot', 'another plot'...

거의 5년 전 | 5

질문


Why is text() unable to orient output in 3 axes?
text(x,y,z,string,'rotation',theta) is only capable of rotating about one axis, and even more annoyingly the text rotates on its...

6년 초과 전 | 답변 수: 1 | 0

1

답변

제출됨


why(varargin)
Enhanced version of MATLAB: base:why

6년 초과 전 | 다운로드 수: 1 |

제출됨


fitconicsections package
Fit data to conic section curves

7년 초과 전 | 다운로드 수: 1 |

제출됨


clplot( x, y, cutval, cols, varargin )
Creates a line plot whose color depends on which 'slice' of the y-range the y-value falls into.

대략 8년 전 | 다운로드 수: 1 |

Thumbnail

질문


Why isn't strfind written to return a value in all cases?
A very common programming question (e.g. <http://www.mathworks.com/matlabcentral/answers/167892-why-does-the-absolutely-not-work...

대략 8년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

8년 초과 전

문제를 풀었습니다


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

8년 초과 전

문제를 풀었습니다


Knight's Tour Checker
Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

8년 초과 전

문제를 풀었습니다


Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

8년 초과 전

문제를 풀었습니다


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

8년 초과 전

문제를 풀었습니다


Small aircraft weight limit
Write an if-else statement that evaluates to true if the sum of passengerWeight and cargoWeight is less than or equal maxWeight....

8년 초과 전

문제를 풀었습니다


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

8년 초과 전

문제를 풀었습니다


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

8년 초과 전

문제를 풀었습니다


Writing a while loop
Write a while loop that continues to increment userValue by 5 until userValue is less than 0.

8년 초과 전

문제를 풀었습니다


Determine the full width at half max
Determine the full width at half max of a curve. The full width at half maximum (FWHM) is a parameter which is used for desc...

8년 초과 전

문제를 풀었습니다


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

8년 초과 전

문제를 풀었습니다


While loop: Summation
Write a while loop that assigns summedValue with the sum of all values from 1 to userNum. Assume userNum is always greater than ...

8년 초과 전

문제를 풀었습니다


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...

8년 초과 전

문제를 풀었습니다


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

8년 초과 전

문제를 풀었습니다


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...

8년 초과 전

문제를 풀었습니다


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

8년 초과 전

제출됨


fundy(x)
provides values for many fundamental physical constants

8년 초과 전 | 다운로드 수: 1 |

문제를 풀었습니다


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 ...

8년 초과 전

문제를 풀었습니다


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

8년 초과 전

더 보기