Community Profile

photo

Matthew


Last seen: 3日 前

North Carolina State University

191 2013 年以降の合計貢献数

連絡する

Matthew's バッジ

  • Knowledgeable Level 1
  • Thankful Level 1
  • First Answer
  • Introduction to MATLAB Master
  • Community Group Solver
  • Commenter
  • Speed Demon
  • CUP Challenge Master
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

2ヶ月 前

解決済み


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

2ヶ月 前

解決済み


Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...

2ヶ月 前

解決済み


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

2ヶ月 前

解決済み


Piecewise linear interpolation
Given an Mx2 vector and a row of M-1 integers, output a two column vector that linearly interpolates Y times between each succes...

2ヶ月 前

解決済み


Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

2ヶ月 前

解決済み


Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

2ヶ月 前

解決済み


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

2ヶ月 前

解決済み


Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

2ヶ月 前

解決済み


Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

2ヶ月 前

解決済み


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

2ヶ月 前

解決済み


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

2ヶ月 前

質問


Scattered Interpolation: Defining my own triangulation?
I'm interpolating data the comes from polar coordiate systems or terrain-following coordiante system used in numerical weather m...

3ヶ月 前 | 0 件の回答 | 0

0

回答

解決済み


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

4ヶ月 前

解決済み


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

4ヶ月 前

解決済み


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

4ヶ月 前

解決済み


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

4ヶ月 前

回答済み
how can i show my hyperspectral data in a two dimensional projection of hyperspectral cube?
To control the orientation of the image, read the documentation for 3-D camera control: https://www.mathworks.com/help/matlab/v...

5ヶ月 前 | 0

回答済み
How to calculate mean value of a parameter within interval of other parameters
Assuming I've understood your description of your arrays correctly... i.e. that int_X and int_Y contain max and min values for t...

5ヶ月 前 | 0

質問


Exportgraphics and TiledLayout: Figure Handle vs TiledLayout handle?
In the documentation for exportgraphics, when saving a multi-panel plot make with TiledLayout, the TiledLayout handle is passed ...

5ヶ月 前 | 1 件の回答 | 0

1

回答

解決済み


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

6ヶ月 前

回答済み
How can I plot RHI from weather radar data ?
I suggest using PyART. But, for Matlab: If you have a cfradial type data file the data are stored in 2-D arrays (gates x rays ...

6ヶ月 前 | 0

回答済み
How to vary the pixel size in matlab imagesc() plot?
What I understand your issue to be is that you have non-uniform spacing of you data points along the x-axis of your data and you...

6ヶ月 前 | 0

解決済み


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

6ヶ月 前

解決済み


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

6ヶ月 前

解決済み


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

6ヶ月 前

回答済み
how can i show my hyperspectral data in a two dimensional projection of hyperspectral cube?
If your data is something like (x,y,spectra), you could try: imagesc(your_data(:,:,1)); If your data is like (spectra, x, y) ...

6ヶ月 前 | 0

| 採用済み

解決済み


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

6ヶ月 前

質問


exportgraphics: need error explained
I'm trying to export of multi-panel plot that contains 4 imagesc plots and two surf plots with the new exportgraphics command wi...

6ヶ月 前 | 0 件の回答 | 0

0

回答

解決済み


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

6ヶ月 前

Load more