Feeds
질문
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...
7년 초과 전 | 답변 수: 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 ...
7년 초과 전 | 답변 수: 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'); ...
7년 초과 전 | 답변 수: 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...
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...
7년 초과 전 | 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!!
7년 초과 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
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 ...
8년 초과 전
문제를 풀었습니다
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:...
대략 9년 전
문제를 풀었습니다
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...
10년 초과 전
문제를 풀었습니다
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 = ...
10년 초과 전
문제를 풀었습니다
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]
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전
문제를 풀었습니다
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 ...
10년 초과 전
문제를 풀었습니다
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전
문제를 풀었습니다
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
10년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
10년 초과 전
문제를 풀었습니다
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.
10년 초과 전
문제를 풀었습니다
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...
10년 초과 전



