Community Profile

photo

rantunes


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Question


Using ode45 Simulink - Anonymous Functions
Hey, I am new in Simulink and tried to migrate (with some necessary modifications) a code I made in Matlab into Simulink to h...

9 years ago | 1 answer | 1

1

answer

Question


Reset vs Held in While Iterator Simulink
Hey, I am new in Simulink programming and I am quite struggling with the distinction between Reset and Held for the while ite...

9 years ago | 0 answers | 0

0

answers

Answered
How can I create a discrete signal that starts from 0?
Hey, In Matlab the vectors begin at 1. So you have to live with it and your sequence x[n] for n = 0,1,2,3,...,7, should be ch...

9 years ago | 0

Answered
Question about syntax (commas and colons)
Hey, When I do _a(:,3:4) = 2_, the 3rd and 4th *columns* turn into 2 as should be expected. The other command _a(3:4,:) = 2_ ...

9 years ago | 2

Answered
What is the best vectorized way to construct the following matrix
Hey, In a glance, it seems that the best way to implement is to do it block by block. B = zeros(k+1,k+1); for i ...

9 years ago | 0

Answered
what does it mean
Hey You can answer your question by running: for k = (i-1):-1:1; k end Greets

9 years ago | 0

Answered
turning a vector or matrix into an integer
Hey, As far as I understood, you want to something like this: integer = x(end); Greets

9 years ago | 2

| accepted

Answered
Newton Raphson m-file
Hey, I guess here you can find an helpful solution to your problem http://www.mathworks.com/matlabcentral/answers/107508-solv...

9 years ago | 0

| accepted

Answered
How to stop the program and store the scalar variable and rerun the program and plot scalar against scalar
Hey, As I can understand from your code, you have alpha = 0, no? And another thing is that you want to plot each point at ...

9 years ago | 1

| accepted

Answered
Help plotting a while loop
Hey, Notice that you are always updating a new value of x and y at each iteration, so in the end you have not a pair of vecto...

9 years ago | 0

| accepted

Answered
Help with solution of a horrible equation
Hey, Can you please show your implementation? Thanks

9 years ago | 0

Answered
how can i assign a full row into a new row?
Hey, I am not sure if I really got your point, but what you want do is not this: P = T(1,1:4); Q = T(1,5:8); ? Gree...

9 years ago | 0

Answered
how world i find the lowest root with bisection
Hey, You have to be more specific. I suspect your code doesn't even run due to non-coherent syntax. What do you want to do...

9 years ago | 0

Answered
importing data and plotting
Hey, your file s2 has only one column? Try to make length(s2). It should be the same as length(t). Greets

9 years ago | 1

| accepted

Answered
how to convert integer array to one value??
Hey, You can also use another (more mathematical) approach: x = [1;2;3;4;5]; y = 0; for i = 1:length(x) y =...

9 years ago | 0

Question


Solving System of ODEs using for cycles to reproduce summing
Dear all, Thank you first all for your attention reading this post. I am a kind of new in Matlab so it might be that the a...

9 years ago | 1 answer | 0

1

answer