Community Profile

# Luis Garcia

Last seen: mer än 2 år ago Active since 2016

All

#### Content Feed

View by

Question

How can I load a mat file faster
I have a very large mat file that is about 8 GB,it contains a couple of structure with data. And to load it it takes about 10 mi...

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

### 1

Question

How to create an structure fields from an cell array?
I have the following code: data1 = xlsread('data1.xlsx'); namesoftags = {'timeaxis','cputime','flux','volts'}; for i =1:4 ...

ungefär 4 år ago | 2 answers | 0

### 2

Question

How to plot 4 rectangles, having their center, and knowing their half width and heigh?
I'm trying to plot 4 rectangles, I have their center points in a 4X2 Matrix,(A) and I have in a 1X2(B) Matrix the half of width ...

mer än 4 år ago | 1 answer | 0

### 1

Question

How to add an existing tool to my GUI?
I'm trying to add an existing tool, (the imcontrast tool) to show in my GUI. But currently it shows in a different figure(or win...

mer än 4 år ago | 1 answer | 0

### 1

Question

How to shift and re plot 4 rectangles ?
I have a rectangle xrect = [x1 x2 x3 x4 x1]; yrect = [y1 y2 y3 y4 y1]; I have plotted the rectangle, but I need to shif...

mer än 4 år ago | 1 answer | 0

### 1

Question

Jacobi method: Error with index in the while loop.
N = 6; I = eye(N); A = toeplitz([2 -1 zeros(1, N-2)]); b = [0 2 3 -1 2 1]'; x = [0 0 0 0 0 0]'; %initial guess ...

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

### 1

Question

trying to iterate through a vector changing the value of 1/5 in each iteration ?
Im trying to do calculations with x with different b, so for example the first calculation is with b = 1/5 0 0 0 0 0 0 0 .... ...

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

### 1

Question

why is my error plot not showing?
x = linspace(-10,10,100); h = logspace(-1,-16,100); error = (300); figure(1); hold on; for i = 1:100 err...

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

### 3

Question

why is my plot not showing?
Im trying to plot iteration on the x-axis vs error_delta on the y-axis, but nothing shows, they are inside the while loop. ...

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

### 2

Solved

Construct an array

mer än 6 år ago

Solved

Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

mer än 6 år ago

Solved

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

mer än 6 år ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

mer än 6 år ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

nästan 7 år ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

nästan 7 år ago

Solved

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

nästan 7 år ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

nästan 7 år ago