Community Profile

photo

Samson David Puthenpeedika


Last seen: más de 1 año hace Con actividad desde 2021

Followers: 0   Following: 0

Estadísticas

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

Ver insignias

Feeds

Ver por

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 0

| aceptada

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 1

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas