Samson David Puthenpeedika
Followers: 0 Following: 0
Statistics
RANK
8,405
of 295,638
REPUTATION
5
CONTRIBUTIONS
14 Questions
2 Answers
ANSWER ACCEPTANCE
92.86%
VOTES RECEIVED
1
RANK
of 20,255
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
Solved
Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...
2 years ago
Solved
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
2 years ago
Solved
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
2 years ago
Solved
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
2 years ago
Question
Created a class fucntion but I am not able to find output for certain conditions even though the value exists.
I have attached data file "air.mat" 1st column is energy (MeV) 2nd column is mass attenuation coefficient calculated 3rd colu...
3 years ago | 1 answer | 0
1
answerQuestion
How do i find repeating sample with different value in data and replace the value with its average?
In the file "air.mat" , contains a matrix named data, in which the first column is the energy (MeV) and the second column repre...
3 years ago | 1 answer | 0
1
answerQuestion
Object Oriented Programming: How to create a child class that gives two parameters for working of parent class in Matlab?
Parent class that created a 3D model classdef shape properties name color opacity v...
3 years ago | 1 answer | 0
1
answerQuestion
How to create a closed surface cylinder using patch function?
I tried creating cylinder using patch fucntion but the top and bottom faces are open. Below is my code- %% Cylinder [l,m,n]=...
3 years ago | 1 answer | 0
1
answerSetting up Git Source Control
https://de.mathworks.com/matlabcentral/answers/1627285-set-up-git-source-control-shows-error#answer_888570 I think this will ...
3 years ago | 0
Set Up Git Source Control shows error
You need to enter this-"C:\cygwin64\bin" in the script at line 12 and then just save it.
3 years ago | 0
| accepted
Question
Why am i getting two different MSE, while using formula and syntax immse?
IS there any mistake in the formula applied for mean squarred error? moving_img= imread("AT3_1m4_02.tif"); fixed_img= imrea...
3 years ago | 1 answer | 0
1
answerQuestion
How do i plot the function as a mesh in the constraint area only?
Given is the following conditions: Using linprog() Maximize: f= 30*X1 + 10*X2; subject to : 6*X1 + 3*X2 <= 40; ...
3 years ago | 1 answer | 0
1
answerQuestion
How to write a code in Matlab having two conditions?
how to create rectangle filter with following condition; f(t)= 1; -0.1secs< t < 0.1 secs f(t)= 0; otherwise Below i hav...
3 years ago | 1 answer | 0
1
answerQuestion
How to change alternate four consecutive elements into zeros in an array of ones?
I created array of ones [1 1 1 1 1 1 1 1 ...] (size 64) Now i to convert the alternate four consecutive elements into zeros. ...
3 years ago | 1 answer | 0
1
answerQuestion
How do i Plot average velocity from given velocity time data?
Below is the given question. I am not able to plot the below underlined part of the question. Determine the distance traveled...
3 years ago | 1 answer | 0
1
answerQuestion
How to Solve equation using Eulers method in Matlab?
Question is as follows:- Solve the following initial value problem over the interval from t = 0 to 1 where y(0) = 1. dy/dt = y...
3 years ago | 1 answer | 0
1
answerQuestion
How do I put annotation text pointing towards specific coordinate?
Below is my code , I have tried to put annotation text pointing towards a coordinate(3.4, 4.8248) using trial and error method ....
3 years ago | 2 answers | 1
2
answersQuestion
What is the use of "maxidx = max(A(:))+1" in the below code ? How does it work? Any alternate syntax for the below function?
The question and code is given below :- input: spine.tif from MATLAB Read the indexed image with the associated colormap, show...
3 years ago | 1 answer | 0
1
answerQuestion
How do i convert base-2 number with decimal point into base-10?
Convert t base-2 numbers to base-10: a. 110.01001 i tried using syntax bin2dec but it was giving error: a='110.01001' bin2de...
3 years ago | 2 answers | 0
2
answersQuestion
How do i get the filename of a dicom file ? I want to open dicom file with study description -"CSP"
Tried getting info from dicomcollection but filename variable was showing 22x1 string details = dicomCollection(fullfile(matlab...
3 years ago | 2 answers | 0