Community Profile

# vinvino

22 2015 年以降の合計貢献数

#### vinvino's バッジ

How to Split hexadecimal in to separate bytes?
Hi i am having an array of Hex values like below, byte size may vary some times. I would like to split the byte by byte and plac...

3年弱 前 | 1 件の回答 | 0

### 1

How to fill excel cell color using MATLAB command, and not by the actxserver method?
I would like to set/fill the excel color using Matlab command, I find out some commands using actxserver but i dont want to use ...

3年弱 前 | 1 件の回答 | 0

### 1

Why this Error: Object returned error code: 0x800A01A8 is appear?
Hi all, While working on the actxserver i am doing some changes in excel for example : K>> cellrange = ws.Range('C1'); ...

3年弱 前 | 1 件の回答 | 0

### 1

How to set Tab color of an excel sheet using Matlab command?
The below command i used and it worked for me % Excel = actxserver('excel.application'); WB = Excel.Workbooks.Open(fullfile...

3年弱 前 | 1

| 採用済み

How to set Tab color of an excel sheet using Matlab command?
I would like to color the spreadsheet tab into 'RED' or 'Green' using Matlab command. Thanks in advance!!

3年弱 前 | 2 件の回答 | 0

### 2

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

3年以上 前

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3年以上 前

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4年以上 前

Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

6年弱 前

Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

6年弱 前

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

6年弱 前

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

6年弱 前

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

6年弱 前

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

6年弱 前

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

6年弱 前

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

6年弱 前

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

6年弱 前

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

6年弱 前

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

6年弱 前

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

6年弱 前

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

6年弱 前

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6年弱 前