**Programming Languages:**

MATLAB

**Spoken Languages:**

English

**Professional Interests:**

Fluid Dynamics, Aerospace Engineering, Aerodynamics, Computational Fluid Dynamics (CFD)

**Statistics**

RANK**155**

of 264 933

REPUTATION**664**

CONTRIBUTIONS

**7** Questions

**173** Answers

ANSWER ACCEPTANCE **
71.43%
**

VOTES RECEIVED**149**

RANK**11 518** of 18 099

REPUTATION**30**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **13**

ALL TIME DOWNLOADS**257**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Sn*= sum of integers dividable by 11, write a script program that inputs a large positive integer M, computes the smallest integer n∗such that Sn∗> M, then displays n∗and Sn∗.

You have done quite well despite your limited understanding of the question. Your code requires only a few modifications - %M=...

2 dagar ago | 1

choosing function in array problem

Table = [ 1 2 3 4 5; 7 8 9 11 15; 0.8 1.5 3 -3.4 2; ...

2 dagar ago | 0

| accepted

How to avoid adding same elements

You can use unique to get the elements without repetition (subject to sum being less than 9007199254740992, as mentioned below) ...

4 dagar ago | 0

| accepted

How to Graph with the endpoints excluded from values

d=0.01; r=(2+d:d:10-d); %not including 2 and 10 vtop = (2*pi*r.^3)/3; Cost_Top = 400*(2*pi*r.^2); Cost_total = 600*pi*r*((50...

4 dagar ago | 0

How to draw with semiology in MATLAB?

The graph is correct. The y axis values are shown in log values as you wanted them to be. And, for the last two values of Q, th...

4 dagar ago | 2

How to use the sum of all the iterations of a value calculated in a for-loop to calculate another value within the same loop?

Is using a loop necessary? If yes, then my comment above should work - M = [2 3]; n = [8 9]; for i = 1:2 mi(i) = M(i)*...

4 dagar ago | 1

Get column E based on transition in Column I

y=[1 1 1 1 1 0 0 0 0 1 1 0 1 0 1 1 0 0 0 0 0 0 0]; i=find(diff(y)==-1)+1

4 dagar ago | 1

Derivatives using second diff

syms x y f(x) x0 y0 m %IDENTIFY the function f(x) f(x) = (4*x^2)-(2*x) + 1; %DETERMINE the point of tangency (This will be a ...

4 dagar ago | 0

Cost of Mathworks MATLAB Professional certification exam?

https://mathworks.com/training-schedule/certifications You might be eligible for the Academic discount. Check the "Academic dis...

5 dagar ago | 0

| accepted

Change exp from number to e

That is most likely because syms turns the expression with exp() (irrational number) into a terminating fraction. You can try t...

6 dagar ago | 0

Convert matrix into CSV, with each matrix element as a separate line including indices of matrix element

You can try this - y=[0.5 0.1 0.6;0.9 0.8 0.3]; z=y'; mat=[repmat(1:size(y,2),1,size(y,1))' repelem(1:size(y,1),1,size(y,2))'...

7 dagar ago | 1

How to extract elements of each column 1 by 1 in matrix and transform it to a column vector ?

Apologies, it took quite some time and questions to understand. Code for the 1st non-zero element in a row - M=[1 0 0...

8 dagar ago | 0

| accepted

Solved

Check if it is a square or cube of consecutive numbers

Check whether the element of given row vector is a square or cube of consecutive numbers. For example Input x=[4 27 16 25 36 3...

9 dagar ago

Solved

Graph Algorithms - 1 : Length of the largest closed path

An undirected simple graph is given as the form of an adjacency matrix. Find the length of the largest closed path (one that sta...

9 dagar ago

Solved

Homogeneous lines and points in 2D: problem 1

In high school we learn the line equation y = mx + c where m is the gradient and c is the intercept. However this form is proble...

9 dagar ago

Solved

Conjunctive Normal Form

In Boolean logic, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of clauses, where ...

10 dagar ago

Solved

Disjunctive Normal Form

This problem is the companion to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1484 1484>. In Boolean logic, a f...

10 dagar ago

Solved

Travelling Salesman Problem (TSP)

Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...

10 dagar ago

Avoiding (X,Y)=(0,0) from loop

The common zeros occur in the 1st column only, so you can operate on the rest of the matrix M = 64; r = linspace(0,1,M); thet...

10 dagar ago | 0

How to find the projection of vectors from corrdinates?

Proceed the same way as you would on pen and paper. You can use points to define the vector - %[x-coordinate y-coordinate] p1=...

10 dagar ago | 0

| accepted

Solved

FIFA World Cup 2014 : Offside

This problem is about offside rule in football (soccer). Input is a matrix with mostly zeros and a few 1, 2, 3 and 4s. A zer...

11 dagar ago

Solved

Magnet and Iron

(Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/112 Problem 112: Remove the air bubbles>) Iron (atomic n...

11 dagar ago

Solved

Reverse Boggle

*Description* In the classic Parker Brothers game <http://en.wikipedia.org/wiki/Boggle Boggle>, players find words from a 4x4...

11 dagar ago

Solved

Ambiguous concatenation

Give two expressions that can have different meaning inside/outside a concatenation expression.

12 dagar ago

In given example, how can I find multiplication of all c matrices (c1, c2, c3, c4, c5) in a 'for' loop?

Finding c1*c2*c3*c4*c5 a=[1 2 3 4 5];c=1; for i=1:5 b=[1 2; 6 5]*a(i); c=c*b; end c

13 dagar ago | 0

| accepted

Solved

Scrabble Scores - 11

This problem builds on the previous problem, wherein you were provided a letter of an existing word on the board and from which ...

13 dagar ago

Solved

Scrabble Scores - 4

This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

13 dagar ago

Solved

Scrabble Scores - 12

This problem builds directly off of Scrabble Scores - 10. Here, you are provided an existing word on the board from which you wi...

13 dagar ago

Solved

Convert a given Character to its decimal equivalent value

Convert a given character to its decimal equivalent value according to the ascii table. if x = '!'; y = 33; if x = 'u'; ...

14 dagar ago

Solved

Implement str2cell

You are given a String that is equivalent to a cell array of scalars or vectors. Transform this String to its equivalent Cell ar...

15 dagar ago