![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/15440140_1557221054106_DEF.jpg)
sourav malla
Followers: 0 Following: 0
Statistics
RANK
4 582
of 297 016
REPUTATION
10
CONTRIBUTIONS
1 Question
11 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
3
RANK
of 20 419
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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 ...
mer än 5 år 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=...
mer än 5 år ago | 2 answers | 0
2
answersHow 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&...
mer än 5 år ago | 0
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...
mer än 5 år ago | 0
| accepted
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=...
mer än 5 år ago | 0
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.
mer än 5 år ago | 0
How to plot 3D bar graph?
You can find the details in the documentation here:- https://www.mathworks.com/help/matlab/ref/bar3.html
mer än 5 år ago | 1
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; ...
mer än 5 år ago | 0
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...
mer än 5 år ago | 0
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);
mer än 5 år 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...
mer än 5 år 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 ...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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 ...
mer än 5 år 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 ...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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 + ...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år 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...
mer än 5 år ago
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...
mer än 5 år ago | 0