photo

sourav malla


Attivo dal 2019

Followers: 0   Following: 0

Statistica

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

Visualizza badge

Feeds

Visto da

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

oltre 5 anni fa | 2

Domanda


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

oltre 5 anni fa | 2 risposte | 0

2

risposte

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

| accettato

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 1

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

Risposto
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);

oltre 5 anni fa | 0

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

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

oltre 5 anni fa | 0

Carica altro