문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

대략 4년 전

문제를 풀었습니다


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.

대략 4년 전

답변 있음
Is there a way to find the max value in an array without using the "max" command?
with the help of for and if, we can create a function to find max value in given array. If it is vector, use two for loop for ro...

4년 초과 전 | 0

질문


change cell color in excel conditional formatting
Hello all, I am working on excel file. In that, I want to do conditional formatting for specfic text using ActiveX command. i....

4년 초과 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

4년 초과 전

문제를 풀었습니다


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

4년 초과 전

문제를 풀었습니다


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

4년 초과 전

문제를 풀었습니다


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

4년 초과 전

문제를 풀었습니다


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]

4년 초과 전

문제를 풀었습니다


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

4년 초과 전

문제


Reepeating numbers in array
Repeating numbers in array In = [1 0 0 0 2 0 0 0 3 0 0 0 0 0 5 0 0 0 0]. Out = [1 1 1 1 2 2 2 2 3 3 3 3 3 3 5 5 5 5 5].

4년 초과 전 | 1 | 솔버 수: 26

문제를 풀었습니다


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

4년 초과 전

답변 있음
Serial Port opening problem
Hi you should check, how many ports are open and closed using instrfind syntax in matlab. >> instrfind Instrument Obje...

4년 초과 전 | 0

| 수락됨

문제를 풀었습니다


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

4년 초과 전

답변 있음
Plot cell array starting from the second element
hi, use below code to extract cell from 2 and plot. cell_extra = a(2:end); plot(cell_extra);

4년 초과 전 | 0

| 수락됨

답변 있음
How to remove displayed edit boxes when the user changes the number of inputs in GUI?
H Ahmed Abed, You should delete handles information which you were created. Please use below code. in 'NumberOfLayers_Callb...

4년 초과 전 | 1

| 수락됨

답변 있음
How to set a start and restart button for counter model?
Hi, attached up and down counter. Here i didn't created any button for up and down counter.

거의 5년 전 | 0

답변 있음
How can i enter the input in MATLAB GUI ?
Hi Yusuf, I have created simple layout for your queris. I hope this attached gui files should resolve your issue. If it is not, ...

거의 5년 전 | 0

질문


Find variable value overwritten in M file and Simulink.
How do we find variable value overwrite in M file and Simulink. Here I have writen very simple code. Does matlab has any too...

거의 5년 전 | 답변 수: 0 | 0

0

답변

답변 있음
How to save a GUI figure in matlab
we can use the saveas command to save your Figure OR GUI to a specific file format as like below. If you press Save Fig button...

거의 5년 전 | 1

답변 있음
Help forming loop to simplify my code
Hello Wilson, Please try below code. clc clear %These will be displayed in the legend of the graph %Times should be in t...

거의 5년 전 | 0

| 수락됨

문제를 풀었습니다


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

거의 5년 전

문제를 풀었습니다


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

거의 5년 전

답변 있음
Storing values from a for loop
Hi, CustAmt = input('How many customers would you like to examine?: '); for x = 1:CustAmt Cust(x).name = input('What...

거의 5년 전 | 0

답변 있음
what is scenario of simulink and stateflow
Hi, If our/your concepts has state based, then we should use stateflow otherwise wil use simulink. For example, In car, Gear b...

거의 5년 전 | 0

문제를 풀었습니다


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

거의 5년 전

문제를 풀었습니다


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

거의 5년 전

답변 있음
how to subtract small window from an image by shifting pixel by pixel
Hi, inp_img = double(imread('cameraman.tif')); figure subplot(1,2,1); imshow(inp_img,[]); sub_mask_window = [14 25 16; 6 32...

거의 5년 전 | 0

| 수락됨

답변 있음
How i can write array cell to excel sheet using loops?
Hi ahamd, use below script. % with for loop input_data = {'glcm11','glcm12','glcm13','glcm14'}; for i = 1 : length(input_dat...

거의 5년 전 | 0

더 보기