Feeds
질문
Find the average point with the four points surround it, using For-loop and function
Hi guys, I had trouble on getting the average point with the four points surround it. Matlab said there is a error on a(i,n...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Pick a phrase to print depending on the time of day.
I have a cell array which is the code below. greetcell = {'Good morning', 'Good afternoon','Good evening'}; I need to pi...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
generate random upper string in function
I tried to generate the same length of upper string as the input argument. For example, if I put wordscramble('abcd'), the ...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
Convert the mxn size Matrix to square Matrix without using loop or if
Hi, I have a random mxn matrix, like 4x6 and I want it to be square. For example, a original 4x6 matrix would be created by ...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
got stunned and cannot display on commond during using while-loop
exp(x)= lim n to inf (1+x/n)^n write a function to accept x and calculate on the right-hand side for n = 1, 2, 3, … until th...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
Product of each row with for-loop
Hi, I got a 6by6 matrix and I have to calculate the product in each row like in v = [1 2 3; 4 5 6], the product of row 1 shoul...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
find the minimum value in each row without using min
I can't use function min And here is my code x = rand([4,3]) for i = 4; row = 0; for j = 1:3 i...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
store the data in dat file with loop function
the question is : there a machine for n piece of pipe. Each pipe should measure weight and length and save as pipe.dat file. wei...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
write a script to write another new .dat
I have to write a script which can write the data to a new .dat file. I already have a vector = [2000 3000 4000 7000 11000; 300...
대략 11년 전 | 답변 수: 0 | 0
0
답변질문
display Empty matrix: 1-by-0
here is the question : function can return a vector as a result. Write a function vecout that will receive one integer argu...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
adjust percentage of red green blue in RGB
hi, I need to change the percentage color for a picture between red green blue. For example, when I put a number, like 50% o...
대략 11년 전 | 답변 수: 1 | 0
