photo

Samson David Puthenpeedika


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

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

View badges

Feeds

View by

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

answer

Question


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

answer

Question


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

answer

Question


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

answer

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

3 years ago | 0

Answered
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

answer

Question


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

answer

Question


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

answer

Question


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

answer

Question


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

answer

Question


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

answer

Question


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

answers

Question


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

answer

Question


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

answers

Question


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

2

answers