photo

Sampath reddy


2012년부터 활동

Followers: 0   Following: 0

메시지

통계학

All
  • Thankful Level 1
  • Solver

배지 보기

Feeds

보기 기준

문제를 풀었습니다


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

12년 초과 전

질문


Update slider value while in a for loop.
I am running a program in GUI.It contains a for loop. One of the parameters in the program is controlled by slider. While inside...

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

2

답변

질문


How to plot data inside a for loop?
I would like to know how to plot a graph in a GUI like a scope or moving graph as the data point is simulated inside a for loop....

12년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Highlight a point on graph.
I have a graph in which i want to highlight a point by 'o'.I want to highlight the point to see if the chosen values are in the ...

12년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Draw graphs from menu GUI
I want to plot any four graphs from the menu of 7 options in a GUI on the same window. How to do that?? Thanks!!

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

2

답변

질문


Parfor on GPU
I want to run two functions in parallel on a GPU. For this i want to use pafor(eg: for ii=1 fun1 and ii=2 fun2). Can variable...

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

2

답변

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

12년 초과 전

문제를 풀었습니다


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

12년 초과 전

문제를 풀었습니다


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

12년 초과 전

문제를 풀었습니다


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.

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

질문


why are there noise signals with increasing time?
The following is a program for simulation of a laser beam with dither modulation. clear all clc freq=1000000; ...

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

0

답변

질문


Bandpass filter
I want to run a signal through bandpass filter, but the data is sent one by one. t=0:0.0000001:1; a=sin(2*pi*250...

12년 초과 전 | 답변 수: 1 | 0

1

답변

질문


does parfor support global variables?
I want to use global variables in the functions run in parallel using parfor. Is it possible?

12년 초과 전 | 답변 수: 1 | 1

1

답변

질문


Parallel computing problem
I have 3 programs to run in parallel, each on one core on my quad core processor. For this i'm using jobs and tasks method. Aft...

12년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Problem accessing a variable in workspace
How to declare a variable global in base workspace?

12년 초과 전 | 0

질문


Problem accessing a variable in workspace
I have generated a variable in a program and want to use the same variable from workspace in other program. I dont want to use i...

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

2

답변

질문


Can we use parfor inside a for loop?
Can a parfor loop be used in side a for loop. I want to run a series of iterations with parfor inside the for loop. How to do t...

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

2

답변

더 보기