Community Profile

photo

sourav malla


48 total contributions since 2019

sourav malla's Badges

  • Knowledgeable Level 1
  • Revival Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
how to sum value of fields on struct?
You can do it with a for loop like this: sum1=0; for i=1:length(s) sum1=sum1+s(i).fieldname end or you can directly do ...

3 Monate ago | 0

Question


How to plot a continuous graph from distinct points.
How to plot a continuous graph by joining the distinct points created by two array of unqual length. Suppose:- x=[1 3 5 6] y=...

3 Monate ago | 1 answer | 0

1

answer

Answered
How OCR method works on Matlab
You can find all the details from these 2 links below:- https://www.mathworks.com/help/vision/ref/ocr.html?searchHighlight=ocr&...

3 Monate ago | 0

Answered
find mutual information between images
You can get useful help from here regarding comparing the features between 2 images: https://www.mathworks.com/help/vision/ug/u...

3 Monate ago | 0

| accepted

Answered
for loops and the if statement
If you are assigning something inside the loop then its: z=0; And if you are checking a statement for true or false then: z=...

3 Monate ago | 0

Answered
increment two values in a single for loop
You can also do like this:- for i=1:n,j=1:m %do something; end It will execute the stuff in (n*m) format.

3 Monate ago | 0

Answered
How to plot 3D bar graph?
You can find the details in the documentation here:- https://www.mathworks.com/help/matlab/ref/bar3.html

3 Monate ago | 0

Answered
How can I put the value of z in a matrix and later call it as z(1,i) and z(2,i) in the while loop?
If you want a matrix of 2 column with changing row values then you can do like this:- while i<t Z(2,i)= z(1,i)+dt*vh; ...

3 Monate ago | 0

Answered
How to extract temperature values from FLIR IR as a .csv file in Matlab?
You can always start with the documentation. Here is the Link: https://www.mathworks.com/help/images/index.html?searchHighlight...

3 Monate ago | 0

Answered
How to remove empty struct fields [ ] from a group a struct fields ?
You can try like this:- out = {t(~cellfun(@isempty,{t.places})).places}; t = cell2struct(out,{'places'},1);

3 Monate ago | 0

Solved


Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

3 Monate ago

Solved


What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

3 Monate ago

Solved


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

3 Monate ago

Solved


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

3 Monate ago

Solved


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Solved


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

3 Monate ago

Answered
I want to open a .mdl simulink file which is saved as text document. Whenever i try to open it from simulink it does not shows up in the directory where i saved it. Can somebody answer it please.
Simulink opens the .mdl file in graphical ways. So you can not read ASCII information of .mdl file simulink window. But you can...

3 Monate ago | 0

Load more