Community Profile

photo

Samson David Puthenpeedika


Last seen: 1년 초과 전 2021년부터 활동

Followers: 0   Following: 0

통계

All
  • Knowledgeable Level 1
  • MATLAB Mini Hack 2022 Participant
  • Solver
  • Revival Level 1
  • First Answer
  • Thankful Level 3

배지 보기

Feeds

보기 기준

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

질문


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

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 2년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Setting up Git Source Control
https://de.mathworks.com/matlabcentral/answers/1627285-set-up-git-source-control-shows-error#answer_888570 I think this will ...

대략 2년 전 | 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.

대략 2년 전 | 0

| 수락됨

질문


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

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 2 | 1

2

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변