159 total contributions since 2012

Professional Interests: Physics, Linear Accelerators, Data Analisis, Electronics

Question

'eval' works on one computer but not on the other....

I have 2 computers, both with windows 7 and both with the 7.10.0 version of MATLAB, both have identical MATLAB programs I create...

oltre 2 anni ago | 2 answers | 0

Question

2D Affine Transform on 2D

I'm attempting to use Affine Transform on an image and x,y coordnates. I made fake data that show the 4 corners of the image an...

oltre 3 anni ago | 0 answers | 0

Question

fill(ax,X,Y,C) not working???

I have a GUI I made with handles.axis1 and handles.axis2, I'm using the fill functions and find that: fill(handles.axis2,X,...

circa 4 anni ago | 2 answers | 0

Question

Visibly accurate scales/axes in plot3...

Hello Everyone, The code below represents "stored boxes" in a closet (or its one way to think about it). The scales in the p...

circa 4 anni ago | 0 answers | 0

Question

draw a virtical line in loglog plot...

I would like to draw a straight vertical line in a loglog plot, but am not sure how. Here is what I got: loglog([0 0], [0.0...

circa 4 anni ago | 1 answer | 0

Question

plotyy scaling issue...

I'm still trying to figure out the scaling issue for the plotyy bar, I have had very little success. The issue is I still get t...

circa 4 anni ago | 1 answer | 0

Question

plotyy issue with 'bar' graph, not scaling correctly?

Hello all! When I plot the data using plotyy making a bar graph with two sets of data, MATLAB plots it, but there is a distinct...

circa 4 anni ago | 2 answers | 0

Answered

plotyy issue with 'bar' graph, not scaling correctly?

I'm attaching a pic to my question: <</matlabcentral/answers/uploaded_files/36208/bar.jpg>> This is what I get exactly fro...

plotyy issue with 'bar' graph, not scaling correctly?

I'm attaching a pic to my question: <</matlabcentral/answers/uploaded_files/36208/bar.jpg>> This is what I get exactly fro...

circa 4 anni ago | 0

Question

formulating elapsed time in hours for input data...

I have some code that I need to change from a string into a vector of numbers representing elapsed hours. My input data looks l...

circa 4 anni ago | 1 answer | 0

Question

fprintf reading rows not working right...

Hello all! Well I'm just not getting something, I'm sure its easy, but just not figuring it out. I'm just trying to read the...

circa 5 anni ago | 1 answer | 0

Question

Pattern search in matrix

Hello Everyone, I'm just trying to figure out how to search for repeated patterns in a matrix and am unsure how to really do it...

circa 5 anni ago | 1 answer | 0

Question

Transfuring plots in GUI's

Hello all! Well I'm trying to transfer plots in gui's and it is not quite working the way I want it to... I have attached ...

circa 5 anni ago | 1 answer | 0

Answered

Gaussian distributed random numbers

Well a simple Gaussian distribution code can be as follows: function main() xo = 0; yo = 0; xsigma = 0.01; ...

Gaussian distributed random numbers

Well a simple Gaussian distribution code can be as follows: function main() xo = 0; yo = 0; xsigma = 0.01; ...

circa 5 anni ago | 0

Answered

combine Arrays (IntArrays andStrArrays)

If you have 5 arrays of the same size and about the same type (for example: all numbers) this should work, if your working with ...

combine Arrays (IntArrays andStrArrays)

If you have 5 arrays of the same size and about the same type (for example: all numbers) this should work, if your working with ...

circa 5 anni ago | 0

| accepted

Question

GUI position property issue...

Hello all! Well I'm attempting to change the position property of a GUI. I need to display different parts of a GUI at differ...

circa 5 anni ago | 1 answer | 0

Answered

strfind: how to set a cell for the pattern?

Hello! Well I think this answers your question, it does not have a for loop, however it uses "ismember" rather then 'strfind', ...

strfind: how to set a cell for the pattern?

Hello! Well I think this answers your question, it does not have a for loop, however it uses "ismember" rather then 'strfind', ...

circa 5 anni ago | 0

Question

GUI Resize - region of interest???

Hello all! I 'm trying to resize to a region of interest. Well I have half of what I want as shown in the code here: % ...

circa 5 anni ago | 1 answer | 0

Answered

Guide GUI's are all blank gray boxes, something is wrong....

It was the Java! I reinstalled Java 6 and it worked fine!

Guide GUI's are all blank gray boxes, something is wrong....

It was the Java! I reinstalled Java 6 and it worked fine!

circa 5 anni ago | 0

| accepted

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

circa 5 anni ago

Solved

Pizza value using expression with parentheses

Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

circa 5 anni ago

Solved

Create a row array using double colon operator

Create a row array from 9 to 1, using the double colon operator.

circa 5 anni ago

Question

Guide GUI's are all blank gray boxes, something is wrong....

Hello everyone! Well I have an issue with Guide GUI's. I will run a GUI based program and it will display a gray box the cor...

circa 5 anni ago | 2 answers | 0

Solved

Finding the next number in a number list, are you able to crack it!

So it goes like this, I give a number list and you find the next value! I found a way to do it, just wondering how many other...

oltre 5 anni ago

Problem

Finding the next number in a number list, are you able to crack it!

So it goes like this, I give a number list and you find the next value! I found a way to do it, just wondering how many other...

oltre 5 anni ago | 1

Solved

surface of a spherical planet

you just discovered its circumference, that is the input.

oltre 5 anni ago

Solved

Fahrenheit to Celsius using multiple statements

Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

oltre 5 anni ago

Solved

Circle area using pi

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

oltre 5 anni 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...

oltre 5 anni ago

Solved

counting groups!

This problem is about counting groups. Example If you have x: x = [0.8 0.8 0.8 0.3 0.3 0.4 0.5 0.6 0.6 0.9] then a...

oltre 5 anni ago