Community Profile

photo

Jayant Gangwar


Last seen: 2년 초과 전 2021년부터 활동

통계

All
  • Knowledgeable Level 2
  • Solver
  • First Answer

배지 보기

Content Feed

보기 기준

답변 있음
Impose a numerical limit on the value of a sum of two vectors
It is my understanding that you would like to sum two arrays element by element and replace all the elements in the resulting ar...

2년 초과 전 | 0

답변 있음
solve a system of integral equations with matlab
You need to pass the complete system of non linear equations to fsolve as input argument along with start conditions, just calli...

2년 초과 전 | 0

답변 있음
How can I purchase the license for matlab?
For an official answer to licensing and finance related questions like this try to contact Customer Service using the Contact Su...

2년 초과 전 | 1

| 수락됨

답변 있음
Create a code to compare two strings
You can save the strings of each doc in two different vector of string, lets say S1 & S2 and then loop over for all the strings ...

2년 초과 전 | 1

| 수락됨

답변 있음
Vectorization of for loop
It seems to me that you want to avoid the use of loops for finding all the rows of beta, You can do it by directly passing the c...

2년 초과 전 | 0

문제를 풀었습니다


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

2년 초과 전

문제를 풀었습니다


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

2년 초과 전

문제를 풀었습니다


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

2년 초과 전

문제를 풀었습니다


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

2년 초과 전

답변 있음
Need help changing a function to delete columns instead of rows
It seems to me you are trying to find a way to delete columns while importing data into google sheets. The function mat2sheets(...

2년 초과 전 | 0

문제를 풀었습니다


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

2년 초과 전

문제를 풀었습니다


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

2년 초과 전

문제를 풀었습니다


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

2년 초과 전

문제를 풀었습니다


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

2년 초과 전

답변 있음
How can I write a matlab code to solve these equations in matlab?
It seems to me that you need help solving system of differential equations with MATLAB. Please refer to the following documentat...

2년 초과 전 | 1

답변 있음
Need to Produce a different matrix after each loop
It is my understanding that you want to produce and store the set of deli after each iteration. In your current code the deli pr...

2년 초과 전 | 0

| 수락됨

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

2년 초과 전

문제를 풀었습니다


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

2년 초과 전

문제를 풀었습니다


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

2년 초과 전

답변 있음
Convert .slx R2018b to .slx R2015a or .slx R2018b to .mdl?
You can use "Export to Previous Version" feature to take a model from a later release to an earlier one. Refer to the following...

2년 초과 전 | 0

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

더 보기