Community Profile

photo

Samson David Puthenpeedika


Last seen: oltre un anno fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

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

Visualizza badge

Feeds

Visto da

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

| accettato

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 1

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte