photo

rantunes


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
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...

mehr als 9 Jahre vor | 0

Beantwortet
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_ ...

mehr als 9 Jahre vor | 2

Beantwortet
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 ...

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 2

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 0

Beantwortet
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...

mehr als 9 Jahre vor | 0

Beantwortet
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

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
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 =...

mehr als 9 Jahre vor | 0

Frage


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...

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort