Community Profile

photo

Robert Bag


Last seen: 3 månader ago Active since 2021

Followers: 0   Following: 0

Statistics

Feeds

View by

Answered
Import data from txt-file with writematrix
This became the final code that worked my purposes. %creating my text-file X = randi(9,3,5); txt1 = ('Name:X'); writematri...

nästan 3 år ago | 0

Answered
Import data from txt-file with writematrix
Yes, Walter. I am on it right now. How sharp are you on the subject? I do not get it to work. It seems hard to get the three ma...

nästan 3 år ago | 0

Question


Import data from txt-file with writematrix
I have this code. The only thing I want now is to import the data into three matrices to the workspace. To a mat-file X = randi...

nästan 3 år ago | 3 answers | 0

3

answers

Question


Matrix insertion to a txt-file
I am trying to get matlab to put three matrices into a text file, in a nice fashion. I have this code:X = randi(10,3,5); dlmwr...

nästan 3 år ago | 2 answers | 0

2

answers

Question


Stuck at a command input
When i try to run a program or write sthg in the command line in matlab I just get the same input line over and over again. I de...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Matlab struct with names and sizes of the mat.file
Hi, I am trying to create a function that asks for mat.file and then I would like t o create a struct which returns the name and...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Creating a function that gives the size and name of the variables in the mat-file
Hi, I am trying to write a function that gives the size and name of the variables in the mat-file I have this: S = whos('-file...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Real solutions to polynomials
When I do this code: %Find all real solutions of the equations syms x A = x^5 - 12*x^4 + 55*x^3 - 120*x^2 + 124*x == 48; a...

nästan 3 år ago | 3 answers | 0

3

answers

Question


Real solutions to a polynomial
Hi, I am stuck to this task: I am trying only to get the real solutions to the function A = [1 -12 55 -120 124 -80] B = roots...

nästan 3 år ago | 1 answer | 0

1

answer

Question


Intersect between functions. I am trying to get the intersection between three functions in 3D space.
Hi, I have three functions (lines) in 3Dspace, for who I am trying to ge the intersect coordinates to. In other words: I am tryi...

ungefär 3 år ago | 1 answer | 0

1

answer

Question


To this code I want to add the property that every new turn renderes a new color in the plot
To this code I want to add the property that every new turn renderes a new color in the plot. nturns = 8; t=linspace(0, nturns...

ungefär 3 år ago | 1 answer | 0

1

answer

Question


dot in an expression
Hi guys. What does the dot in sinc(x) = sin(x)./x do? Remove a singularity or what?

ungefär 3 år ago | 1 answer | 0

1

answer

Question


Dialog boxes to calculate functions
I am trying through the code below, to get a code that calculates separately arcsine, arrcos and natural Logaritm, by the user p...

ungefär 3 år ago | 1 answer | 0

1

answer

Question


I am trying to get predefined dialog boxes to calculate arcsine of an argument I will put in a dialogue list. Bu what I do not understand is how I will get the answer arcsine(arg) to be written out in a message box, msbox. Someone who can help? The c
I am trying to get predefined dialog boxes to calculate arcsine of an argument I will put in a dialogue list. Bu what I do not ...

ungefär 3 år ago | 1 answer | 0

1

answer

Question


Squared matrix with elements of the sums of its indices
Hi. How can i write squared matrix with elements of the sums of the matrix indices?

ungefär 3 år ago | 1 answer | 0

1

answer