photo

Agent Cooper


Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
MATLAB Answers

11 Questions
1 Answer

Cody

0 Problems
43 Solutions

RANK
220,011
of 299,737

REPUTATION
0

CONTRIBUTIONS
11 Questions
1 Answer

ANSWER ACCEPTANCE
81.82%

VOTES RECEIVED
0

RANK
 of 20,791

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
13,382
of 165,655

CONTRIBUTIONS
0 Problems
43 Solutions

SCORE
410

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 3
  • Solver

View badges

Feeds

View by

Answered
FOR loop with IF condition alternative
Thank you very much, Hikaru and Amir. Both answers were of great use.

11 years ago | 0

Question


FOR loop with IF condition alternative
I have the following code I = [1:1:10; 10:10:100]' a = size(I) limit1 = 1 limit2 = 3 limit3 = 7 ...

11 years ago | 3 answers | 0

3

answers

Question


Save paired values from a FOR loop
I have the following FOR loop I = imread('image.png') for i = 2:1:5 init = ones(i) ...

11 years ago | 1 answer | 0

1

answer

Question


Save FOR loop values in a matrix or a vector
I have the following function with two FOR loops: function Y = rot_mat(X) n = sqrt(numel(X)) for x ...

11 years ago | 1 answer | 0

1

answer

Question


Multiple vector output in a function
I am trying to define a function that returns two vectors. function [X, Y] = element_select(A,B,astart,astep,bstart,bst...

11 years ago | 1 answer | 0

1

answer

Question


Get rid of an unwanted zero element in an IF loop
I'm trying to create a function that returns only the elements in a vector which repeats exactly three times using the following...

11 years ago | 1 answer | 0

1

answer

Question


How to extract all the values from a while loop into a vector
I have the following function function c = nice(n) c = n while c ~= 1 if rem(c,2) == 0 c = ...

11 years ago | 2 answers | 0

2

answers

Question


Matrix from a for FOR loop with IF conditioning
I have the following problem: A = [1 2 3; 4 5 6; 7 8 9] for i = 1:n if rem(i,2)== 0 x =...

11 years ago | 3 answers | 0

3

answers

Question


vec2mat function unrecognized by Cody
Hello, I tried to solve the "Create times-tables" problem in Matlab Cody and it appears that the vec2mat function is not reco...

11 years ago | 1 answer | 0

1

answer

Question


Save FOR loop data into a vector
Dear all, I am trying to save the data that I get from a FOR loop into a vector. Here is my example: X = [ -5 1 -2 9 ...

11 years ago | 2 answers | 0

2

answers

Question


How to evaluate the x value corresponding to an y value from a plotted y(x)?
I am trying to evaluate the x value corresponding to an y value, after plotting y(x). How can I do that for any kind of values? ...

13 years ago | 1 answer | 0

1

answer

Question


How to evaluate multiple definite integrals using the integral(F,min,max) function?
I am trying to evaluate the integral of a function F using the integral(F,min,max) Matlab built-in function. The problem is that...

13 years ago | 1 answer | 0

1

answer