Feeds
질문
is there a way to increase the speed of this code
The following code is taken from the book "MATLAB Guide to Finite Elements" and it takes too much time to run this code and I am...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
Is there a way to catch errors with out using try catch statements?
Hi, I have created a GUI and deployed it. It works well but sometimes it gives error but user can't see it. Is there a way to...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
Easy question for editbox?
Hello, I am using edit box as an input window. When user click enter button callback of the edit box runs and takes the input...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
how to obtain brushed data programaticly
The same question is asked on the following link last year. ( http://www.mathworks.com/matlabcentral/answers/25488-brush-data-c...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
Properties of user defined classes cannot be seen in variable editor. why? Please look at the picture.
Hi every one. As you can see in the picture at the following link I can not see properties of user defined classes in my workspa...
11년 초과 전 | 답변 수: 2 | 2
2
답변답변 있음
Passing Data Between GUI and .m Script
It is better not to use GUIDE. Developing a GUI with a m file is not so hard. You can use GLOBAL variable to transfer and store ...
Passing Data Between GUI and .m Script
It is better not to use GUIDE. Developing a GUI with a m file is not so hard. You can use GLOBAL variable to transfer and store ...
거의 12년 전 | 0
질문
How can I change property of a user defined class by using set(my_class,'my_property',my_value)
How can I change property of a user defined class by using set(my_class,'my_property',my_value)
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
Please Help Me About Sub and Super Classes
Hello, I am trying to learn classes in Matlab here is a basic question. How can I write two classes A and B in order to represen...
거의 12년 전 | 답변 수: 1 | 0
1
답변답변 있음
How to pass a structure variable from callback to other callback .
you can use global variables easly to transfer data from one function to another one. function main myfun1 myfun2 ...
How to pass a structure variable from callback to other callback .
you can use global variables easly to transfer data from one function to another one. function main myfun1 myfun2 ...
거의 12년 전 | 0
질문
How to select point or lines on the graph
Hi everyone. Please run the following code. It will create a scatter grap with 5 points. I want to select the nearest point on t...
거의 12년 전 | 답변 수: 2 | 0
2
답변질문
Finding size of a cell
Hi everyone, Let create a cell multi dimensinal cell A with the following code. for k=1:4 for i=1:k fo...
12년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
거의 13년 전
문제를 풀었습니다
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
거의 13년 전
문제를 풀었습니다
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 + ...
거의 13년 전
문제를 풀었습니다
Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
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.
거의 13년 전
문제를 풀었습니다
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]
거의 13년 전
문제를 풀었습니다
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
거의 13년 전
문제를 풀었습니다
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
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:...
거의 13년 전
문제를 풀었습니다
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 ...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
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 ...
거의 13년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
거의 13년 전