Community Profile

photo

sourav malla


Active since 2019

Followers: 0   Following: 0

Statistics

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

View badges

Feeds

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

bijna 5 jaar ago | 2

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

bijna 5 jaar ago | 2 answers | 0

2

answers

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

bijna 5 jaar 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...

bijna 5 jaar 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=...

bijna 5 jaar 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.

bijna 5 jaar 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

bijna 5 jaar ago | 1

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

bijna 5 jaar 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...

bijna 5 jaar 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);

bijna 5 jaar 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...

bijna 5 jaar 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 ...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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 ...

bijna 5 jaar 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 ...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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 + ...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar 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...

bijna 5 jaar ago | 0

Load more