Community Profile

photo

Nabin SUNAM


Active since 2015

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


use structure to draw a group of boxes
I have drawn five boxes using rectangle function writing code for each box. This doesn't look elegant however. I'm thinking I co...

9 years ago | 1 answer | 0

1

answer

Answered
matlab stores the value in ans instead of the variable I assigned
Sorry the first line is actually, function stormdata = readstormdata I want to capture the result of readstormdata into s...

9 years ago | 0

Question


matlab stores the value in ans instead of the variable I assigned
I wrote the following function so that I can use the structure 'stormdata' into another function. But matlab is assigning my dat...

9 years ago | 2 answers | 0

2

answers

Question


creating matrix of unique integeres
I need to create a matrix of size 2*6, with elements as the integers from 1 through 12. None of these integers can repeat. I tri...

9 years ago | 1 answer | 0

1

answer

Question


creating 30 digits numbers and finding sum
this is the question basically: add two 30 digit numbers and print the result. This is how it wants me to do it: store the inte...

9 years ago | 2 answers | 0

2

answers

Question


function prodby2 with for loop that will give you product of odd integers
I"m having hard time with this question: Write a function prodby2 that will receive a value of a positive integer n and will ...

9 years ago | 1 answer | 0

1

answer

Answered
How can I plot this exponential decaying sinusoid
Thanks Miscah for the try. I tried to run this script and this is the message I'm getting. "Error using * Inner matrix ...

9 years ago | 0

Question


exponential decay function y = exp*(-Tau.time)
Another exponential decay function I am having problem with: Need to write script to plot the following equation y = exp ^ ...

9 years ago | 2 answers | 0

2

answers

Question


How can I plot this exponential decaying sinusoid
y(x) = F * exp^(-a*x) * sin(bx) pick you own values for x vector. value of a and b: ethyl alcohol 0.246 0.806...

9 years ago | 2 answers | 0

2

answers

Question


Error: Function definitions are not permitted in this context.
This is my function function [ area ] = calcarea(rad ) area = pi*rad.^2 end When I try to run it, following message ...

9 years ago | 6 answers | 0

6

answers