Community Profile

photo

pr


2013년부터 활동

통계

All
  • First Review
  • Thankful Level 3
  • Leader
  • Solver

배지 보기

Content Feed

보기 기준

질문


Saving Cell array and String to text file.
I have a cell_in (combination of numeric, date&time & text data) of size mxn and need to save data in a text file. Here is th...

거의 9년 전 | 답변 수: 3 | 0

3

답변

질문


XTickLabelRotation for plotyy in MATLAB 2014bis not working.
I need to plot data with two y-axis with common x-axis [date and time]. And later i would like to rotate the 'XTickLabel' by 60 ...

대략 9년 전 | 답변 수: 1 | 2

1

답변

질문


Converting cellarray to double
I have a cellarray of size 100000 x 20 and need to convert to numeric array. I used function str2double(StringData); b...

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

1

답변

질문


Plot Numeric values vs Date&Time
The text files contains Date&Time and some values. Please look in the attachments. I need to plot Second column with Date&Time. ...

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

1

답변

질문


Delete sheet number 1 in excel
I want to delete sheet number 1 in excel. Here is the code I wrote: newExcel = actxserver('excel.application'); excelW...

9년 초과 전 | 답변 수: 2 | 1

2

답변

질문


Replacing the column of array elements with NaN.
Given an array A = [0 11; 0.1 2; 0.2 5; 0.3 3; 0.4 6; 0.5 7; 0.6 10; 0.7 4; 0.8 5; ...

거의 10년 전 | 답변 수: 4 | 0

4

답변

문제를 풀었습니다


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

거의 10년 전

문제를 풀었습니다


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

거의 10년 전

문제를 풀었습니다


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

거의 10년 전

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

거의 10년 전

문제를 풀었습니다


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

거의 10년 전

문제를 풀었습니다


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

거의 10년 전

문제를 풀었습니다


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

거의 10년 전

문제를 풀었습니다


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

거의 10년 전

문제를 풀었습니다


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

거의 10년 전

질문


Arranging the cell array in the corresponding rows.
I have a cell array which has the following format: action (a1,a2,a3,...) and followed by the corresponding "id-number" like(01...

거의 10년 전 | 답변 수: 2 | 0

2

답변

문제를 풀었습니다


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

거의 10년 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

거의 10년 전

문제를 풀었습니다


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

거의 10년 전

문제를 풀었습니다


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

거의 10년 전

문제를 풀었습니다


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

거의 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년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

거의 10년 전

문제를 풀었습니다


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

거의 10년 전

질문


Eliminating zero's between rising and falling edge
A series with 1's and 0's. a = [0 0 0 1 1 1 0 0 1 1 1 0 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 ]; and so on... Now I would like to elimi...

대략 10년 전 | 답변 수: 2 | 0

2

답변

질문


How to change the size of an image loaded into the push button automatically when the window size of a GUI(GUIDE) changes.
Hello, I'm new to GUI. I am creating an user interface in GUI fusing GUIDE. I would like to include a fancy ''close'' image into...

10년 초과 전 | 답변 수: 2 | 0

2

답변

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

10년 초과 전

문제를 풀었습니다


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

10년 초과 전

문제를 풀었습니다


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

10년 초과 전

더 보기