답변 있음
how to divide excel files in matlab into uneven groups
Hello. Although I wouldn't recommend loops, since no one replied, I'll clumsily do it. i = [3 120 121 500 501 1500 1501 230...

대략 11년 전 | 0

| 수락됨

질문


If your question has no answer, should you delete your question or answer to it assuming you were able to find a solution?
Hello. This might be a foolish question. If I have a number of unanswered questions of my own and manage to solve some of the...

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

0

답변

질문


Loading and saving sequence of files?
Hello. I have number of .mat files in a same directory that has a pattern *|SSR(Year)(Month)(Day)|*. The problem is not ever...

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

2

답변

답변 있음
Less than what number in the file ht could give 95%?
First of all, I think it is bad idea to save your variable as ' |ans| ', so you should define a unique name. (I have renamed ' |...

대략 11년 전 | 1

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

대략 11년 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

Discussion


Experts of MATLAB, how did you learn? Any advice for beginner/intermediate users?
The community is very helpful, yet I feel really powerless that I cannot find the appropriate way to code, nor find the problems...

대략 11년 전 | 46

질문


Experts of MATLAB, how did you learn? Any advice for beginner/intermediate users?
The community is very helpful, yet I feel really powerless that I cannot find the appropriate way to code, nor find the problems...

대략 11년 전 | 답변 수: 14 | 35

14

답변

답변 있음
How to dock/undock an image using matlab code instead of doing manually?
You mean like this? Example: h = figure(3000); % Creating a figure set(h,'name','figure_name','numbertitle','on') % Set...

대략 11년 전 | 2

| 수락됨

질문


Finding the mean along X axis on plot?
Hello. I am trying to find the mean along the X axis as follows. <</matlabcentral/answers/uploaded_files/33621/untitled.jpg>>...

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

1

답변

질문


Help with removing arrays from structure array?
Hello. I have 1x50 structure array called 'data2' with 18 fields. I am trying to remove arrays that have zero matrices in their ...

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

1

답변

질문


How to load all .mat files in a folder and save accordingly?
I am trying to run some code on bunch of .mat files with different names which are not in sequence (only the starting parts are ...

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

1

답변

질문


Question regarding loop with multiple string comparisons?
Hello. I am trying to extract several Aircraft data from a general data I have. I want the following 6 aircraft data from my gen...

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

1

답변

질문


Best way to summarize statistical data
Hello. I want to summarize the statistics of my following data. <</matlabcentral/answers/uploaded_files/33078/WOLALALA.bmp...

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

1

답변

질문


Loop in a loop question?
I have a 1 x 521 structure array called 'data' with 20 fields. One of the field is 'GS', which stands for Ground speed. I am try...

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

2

답변

질문


Eliminating unnecessary portions of arrays from structure.
Hello. I have 1x1574 structure array called "data" with 27 fields. I would like to perform on one of the fields, "IAS". I woul...

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

1

답변

질문


Grouping elements in an array?
Hello. I have a 1 x 46 struct array 'data' with two fields, 'Altitude' and 'Velocity'. Each array has different sizes but the c...

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

2

답변

더 보기