Community Profile

photo

Rahul Kalampattel


2013년부터 활동

Programming Languages:
Python, C++, MATLAB
Spoken Languages:
English

통계

All
  • Quiz Master
  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • First Answer
  • Scavenger Finisher
  • CUP Challenge Master
  • Speed Demon
  • Creator
  • Commenter
  • Solver

배지 보기

Content Feed

보기 기준

문제를 풀었습니다


Function composition - harder
Write a function that accepts an arbitrary number of function handles f_1, f_2, ..., f_n and returns the composition h. That is,...

6년 초과 전

문제를 풀었습니다


Function composition
Write a function that accepts two function handles f and g and returns the composition h. That is, h = (f o g)(x) = f(g(x)) ...

6년 초과 전

문제를 풀었습니다


Predicting life and death of a memory-less light bulb
*&#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &#128161 &...

6년 초과 전

문제를 풀었습니다


A Simple Tide Gauge with MATLAB
*&#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767* You are standing in a few inches of sea water on a beach. You a...

6년 초과 전

문제를 풀었습니다


Van Eck's Sequence's nth member
Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

6년 초과 전

문제를 풀었습니다


5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

6년 초과 전

문제를 풀었습니다


Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

6년 초과 전

문제를 풀었습니다


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

6년 초과 전

문제를 풀었습니다


Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

6년 초과 전

문제를 풀었습니다


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

6년 초과 전

문제를 풀었습니다


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

6년 초과 전

문제를 풀었습니다


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

6년 초과 전

문제를 풀었습니다


Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

6년 초과 전

문제를 풀었습니다


How to subtract?
* Imagine you need to subtract one number from another using MATLAB. * You will not be using eval for this task. * Given two A...

6년 초과 전

답변 있음
I am running a for loop for my program. however, I want to run the for loop until i have 10 non-zero values in the matrix A.
The simplest solution would be to change the |for| loop to a |while| loop. Just calculate |c| at each iteration, and once |c==10...

대략 7년 전 | 0

답변 있음
how can i plot these dsp signals?
I think what you have is correct, except in the last command you should be plotting |q| rather than |S| and |x|. Also if you wan...

대략 7년 전 | 0

답변 있음
How do i solve this problem?
The syntax for a user prompt is |prompt = 'text'| rather than what you had. prompt = 'Please enter number of strips: '; ...

대략 7년 전 | 0

| 수락됨

답변 있음
Matlab simple loop for different function variables (Finite Difference)
Something like this? Or did you want all the error terms in one 3D matrix? clc clearvars close all hVec = [0.0...

대략 7년 전 | 3

| 수락됨

답변 있음
How do I subtract from specific elements in a vector?
function [income cnt] = tickets( price, numTickets ) cnt = sum(numTickets); numTickets = numTickets - (numTickets>5)...

대략 7년 전 | 0

| 수락됨

답변 있음
Problem plotting Möbius strip
Use |meshgrid| to generate matrices for both your parameters, rather than using vectors. u = linspace(0,2*pi,100); v =...

대략 7년 전 | 2

| 수락됨

답변 있음
display surface normal using quiver3
*1.* Use [U,V,W] = surfnorm(X,Y,Z); instead of [U,V,W] = surfnorm(Z); This will make sure that the |quiver3| v...

대략 7년 전 | 0

| 수락됨

답변 있음
Does anyone know why not all of my streamlines complete themselves?
If you check out the <http://au.mathworks.com/help/matlab/ref/streamline.html documentation> for the |streamline| function, you'...

대략 7년 전 | 5

| 수락됨

답변 있음
Either quiver3 or streamline work for me, but not both, for the same test data
Does this look like what you're expecting? <</matlabcentral/answers/uploaded_files/71280/quiver.jpg>> Edited code: qp...

대략 7년 전 | 1

| 수락됨

문제를 풀었습니다


Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

대략 7년 전

문제를 풀었습니다


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

대략 7년 전

문제를 풀었습니다


Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

대략 7년 전

문제를 풀었습니다


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

대략 7년 전

답변 있음
How to plot a bode graph
Have a look at the documentation for |<http://au.mathworks.com/help/matlab/ref/semilogx.html semilogx>| and see if it helps...

대략 7년 전 | 0

답변 있음
What's wrong in this code? why is this not displaying whole matrix?and how to sum whole matrix?
You're overwriting the matrix |Cmd| every iteration because of the line |Cmd=zeros(M:D)|. Take it outside of both |for| loops. ...

대략 7년 전 | 0

| 수락됨

문제를 풀었습니다


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

대략 7년 전

더 보기