photo

random09983492


Last seen: mehr als 3 Jahre vor Aktiv seit 2011

Followers: 0   Following: 0

Statistik

All
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Can an amplifier in Simulink receive its input from a workspace variable?
I am trying to model an amplifier using the Amplifier block in Simulink. I am familiar with driving the amplifier using a signal...

etwa 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Problem with 64 bit WAV file using audiowrite
I am using a script to generate test wav files at different sampling rates and bit depths. So far everything has worked fine up ...

fast 8 Jahre vor | 0 Antworten | 0

0

Antworten

Gelöst


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

etwa 8 Jahre vor

Beantwortet
array length is not what I've set...
The first time the loop executes it sets Hopt_new(90). The second time it sets Hopt_new(91). If you want to start at the f...

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
Why is 'cp_2-feb-2016_1' invalid string in MATLAB?
Strings in Matlab must be surrounded by single quotes. For example: >> 'cp_2-feb-2016_1' ans = cp_2-feb-2016...

mehr als 8 Jahre vor | 0

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

mehr als 8 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

mehr als 8 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mehr als 8 Jahre vor

Beantwortet
Import columns from a CSV by header name
The csvread function is capable of doing what you want to do.

mehr als 8 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 8 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 8 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 8 Jahre vor

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

Beantwortet
Matlab is making small errors during computations
Check here: <http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F link> If you need...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
Passing Variable Number of Arrays to a function with varargin
Hi Doug, varargin starts at index 1, not index 2. That should fix it up.

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to find x,y matrix using for sintax
Hi, Here is my implementation. Let me know if there is something you do not understand. [r,c] = size(a); % Starts...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to find percentages of red, yellow, orange and green in an image?
Hi Siddharth, I would take a look at the imread function build into Matlab. For an RGB image of size M-by-N, it will import t...

fast 11 Jahre vor | 0

Beantwortet
How do I even open the Instrument Control Toolbox?
Hi Z, By default, toolboxes are not listed in your Win7 start menu (I'm not sure you can make them appear there). You can ope...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Is it possible to combine strings and variables in a matrix?
Hi Z, Here are 2 solutions: 1. Change: disp [rate, duration] to: disp([rate, duration]) 2. Use fprintf state...

fast 11 Jahre vor | 2

Beantwortet
Optimization of a simple IF-FOR loop
Hi Mohsen, A few things I will recommend: 1. Take advantage of Matlab's Profiler. Type profview in the Command Window to a...

fast 11 Jahre vor | 0

Beantwortet
Subscripted assignment dimension mismatch.
Hi Jonathan, Your problem is that the findpeaks function can return an empty array, [ ], or an array with multiple entries [p...

fast 11 Jahre vor | 0

Frage


Indexing error using ezplot
Hi, I'm writing a code that uses symbolic variables and ezplot. My equation contains 17 variables, and I am trying to find the d...

fast 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Minute error in array causes == to be ineffective
Hi, I am trying to use an if statement using the == comparator to search an array of numbers. Something like this: for i = ...

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
While Loop Help
I assume you will add items to the ship based solely on value/weight ratio? If so, this is quite simple. A while loop is writ...

etwa 13 Jahre vor | 0

| akzeptiert

Frage


Using EOF flag to change multimedia block parameters
Hi, I am wondering if it is possible to use the EOF flag on Simulink's 'From Multimedia File' block to trigger block parameter ...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


fda tool not meeting frequency specifications
I'm developing an audio equalizer using MATLAB's fdatool, and I'm noticing some very strange things are happening. For low-frequ...

etwa 13 Jahre vor | 0 Antworten | 0

0

Antworten