photo

Senaasa


Pennsylvania State University

Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

All
  • Thankful Level 3
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


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

mehr als 8 Jahre vor

Frage


National Instruments DAQMX function support in matlab
Hi, I have a national instruments PCI-DIO-32HS digital card and I'm trying to use matlab's data acquisition toolbox. I have D...

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Logical indexing with matrix issue
I ran into this issue writing a program using logical indexing. Suppose you have A=ones(32,10); M=zeros(32,10); N=one...

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is it possible to vectorize this loop?
Hi, I've been trying to figure out a way to optimize this bit of code by vectorizing the loop. I can't find a good way to do ...

etwa 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Indexing to subtract sections of an array
Hi, Say you have an 1x80000 row vector and need to subtract by blocks of 64 every so many elements. For example A = rand...

mehr als 10 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


Caught unexpected exception of unknown type TCP/IP device connection
Hi, I'm trying to connect a Newport XPS motion controller to Matlab via TCP/IP. I'm running 64bit 2012b on win7 64bit. The code...

mehr als 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


loadlibrary error with 64bit dll and header
Hi, I have three 64bit files (XPS_C8_DRIVERS.dll, XPS_C8_DRIVERS.lib and XPS_C8_DRIVERS.h), when trying to use loadlibr...

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to vectorize this loop? Subsequental subtraction of columns within a matrix
I'm trying to vectorize the following loop: a=rand(1000,100); j=1; k=2; tic for i=1:50; b(:,i)=a...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using matlab and java to control a mouse on another computer
Hi, I know it's possible to control the mouse on a computer running matlab via a java robot (http://www.mathworks.com/matlabc...

mehr als 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Using fprintf and instrument control toolbox with serial connection
Hi, I'm trying to send commands to a monochromator (CM110/112) connected to a cpu (RS232). I've successfully connected to the...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Convolution on a nonlinearly spaced data set.
Hi, I am currently trying to use conv on a data set that is nonlinearly spaced. The convolution works, the issue I'm having i...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Basic questions on conv function
Hi all, For those who run into this problem, I found that after you perform the full conv, you need to shift the time axis by...

mehr als 11 Jahre vor | 0

| akzeptiert

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mehr als 11 Jahre vor

Frage


Basic questions on conv function
Hi, Suppose I have the following code: t=(-1:.1:5); %Time axis for i=1:1:length(t); if t(i)<0 ...

mehr als 11 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


Calculating a convolution using conv vs. a loop
Hi, I'm currently calculating the convolution of a Gaussian and a power law using the following code snippet: for j=1:...

mehr als 11 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


Splitting an axis into a linear and log scale
Hi, I'm interested in splitting the x-axis of a plot into a linear section and a log section. For example, I want to plot -1 ...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using nlparci and getting the error Cannot compute confidence intervals for complex values
Hi, I'm trying to get the confidence intervals using the following code: options=optimset('display','iter', 'MaxIter', 5...

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Finding the largest index in an array that is divisible by a certain number
Hi, Given an nx1 array, I'm trying to get matlab to determine the largest index value which is divisible by a number (say 3),...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Breaking down a large array
Hi, I have a large array (nx1) of values that I'd like to break up into a new array. This new array takes the first 200 or so...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort