All human wisdom is contained in these two words - Wait and Hope

답변 있음

Logarithmic value scaling in image-function

Are trying to scale the colors so that changes are exaggerated? Here is an example of what you could do: C = [1 2 3; 4 5 6; 7 8...

Logarithmic value scaling in image-function

Are trying to scale the colors so that changes are exaggerated? Here is an example of what you could do: C = [1 2 3; 4 5 6; 7 8...

약 1달 전 | 0

답변 있음

matrix contain index track

The only way I'm aware of you have arrays within another indexed structure is to use cells. I'm not sure exactly what you are tr...

matrix contain index track

The only way I'm aware of you have arrays within another indexed structure is to use cells. I'm not sure exactly what you are tr...

약 1달 전 | 0

| 수락됨

답변 있음

Logaritmic scale in contour map via Matlab.

You can set the scale to log like so: set(gca,'xscale','log','yscale','log');

Logaritmic scale in contour map via Matlab.

You can set the scale to log like so: set(gca,'xscale','log','yscale','log');

약 1달 전 | 0

답변 있음

How to pause code till specific key is pressed?

Seems like you could do this more easily like this: [x,y] = ginput(2); This allows you to get the data for two locations bef...

How to pause code till specific key is pressed?

Seems like you could do this more easily like this: [x,y] = ginput(2); This allows you to get the data for two locations bef...

약 1달 전 | 0

답변 있음

What should I use instead of cd?

Your use of fullfile should be this: fullfile(basedir, Subjectids{n}, data_dirs{n},'TOM') Also, why are you trying to avoid us...

What should I use instead of cd?

Your use of fullfile should be this: fullfile(basedir, Subjectids{n}, data_dirs{n},'TOM') Also, why are you trying to avoid us...

약 1달 전 | 1

답변 있음

Simulink mask port names

Select Opaque with ports on the Icon transparency drop down in the Mask Editor on the Icon & Ports Tab. This will take the...

Simulink mask port names

Select Opaque with ports on the Icon transparency drop down in the Mask Editor on the Icon & Ports Tab. This will take the...

약 2달 전 | 1

| 수락됨

답변 있음

How do i produce a warning and an error for the user

The task is to... sounds like homework! I'll provide some food for thought You currently only check for absolute values if the...

How do i produce a warning and an error for the user

The task is to... sounds like homework! I'll provide some food for thought You currently only check for absolute values if the...

2달 전 | 1

답변 있음

system with time delay

This answer has been updated to better match the OP. doc ss %search for "InternalDelay" and "OutputDelay" % Define Delays t...

system with time delay

This answer has been updated to better match the OP. doc ss %search for "InternalDelay" and "OutputDelay" % Define Delays t...

2달 전 | 0

답변 있음

Nested For Loop Equation

Tis quick and dirty, but this work... clear;clc; N = primes(100); newVect = zeros(size(N)); for ii = 1:length(N) ...

Nested For Loop Equation

Tis quick and dirty, but this work... clear;clc; N = primes(100); newVect = zeros(size(N)); for ii = 1:length(N) ...

2달 전 | 1

| 수락됨

답변 있음

How can I device a time series A by a Time series B if they are the same size?

Time series division is the same as general variable division >> timeS1 = timeseries(linspace(1,2)); >> timeS2 = timeseries(li...

How can I device a time series A by a Time series B if they are the same size?

Time series division is the same as general variable division >> timeS1 = timeseries(linspace(1,2)); >> timeS2 = timeseries(li...

2달 전 | 0

답변 있음

Image Processing - Measuring geometric sizes in the image

You may be interested in this function: https://www.mathworks.com/matlabcentral/fileexchange/7173-grabit Seems like what you ...

Image Processing - Measuring geometric sizes in the image

You may be interested in this function: https://www.mathworks.com/matlabcentral/fileexchange/7173-grabit Seems like what you ...

2달 전 | 0

답변 있음

Having trouble getting a for loop to create similar matrices (error "Index in position 1 exceeds array bounds (must not exceed 1).")

The issue stems from: L0(Elements(i,1),1)=1; Elements is a single row vector and thus when i iterates to 2, it fails. I'd guessi...

Having trouble getting a for loop to create similar matrices (error "Index in position 1 exceeds array bounds (must not exceed 1).")

The issue stems from: L0(Elements(i,1),1)=1; Elements is a single row vector and thus when i iterates to 2, it fails. I'd guessi...

2달 전 | 1

답변 있음

How to order 'n' no of populations in ascending order based on their fitness for a minimization objective in matlab

I'm assuming you already have the fitness of each population according to the minimization objective. If this is the case, you w...

How to order 'n' no of populations in ascending order based on their fitness for a minimization objective in matlab

I'm assuming you already have the fitness of each population according to the minimization objective. If this is the case, you w...

2달 전 | 0

| 수락됨

해결됨

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

2달 전

답변 있음

How to store the results from a for loop into a matrix?

Note that there area some poor practices in place here, but with the most minimal change to what you already have is to create a...

How to store the results from a for loop into a matrix?

Note that there area some poor practices in place here, but with the most minimal change to what you already have is to create a...

2달 전 | 1

| 수락됨

해결됨

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

2달 전

해결됨

DNA N-Gram Distribution

Given a string s and a number n, find the most frequently occurring n-gram in the string, where the n-grams can begin at any poi...

2달 전

답변 있음

A number contain in a series.

You haven't provided enough information to be certain of what you want, but makeing some assumptions, this should work. clear;c...

A number contain in a series.

You haven't provided enough information to be certain of what you want, but makeing some assumptions, this should work. clear;c...

2달 전 | 0

해결됨

Pizza!

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

2달 전

해결됨

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

2달 전

답변 있음

Lower cutoff frequency for signal processing (filtering ) of LVDT and strain gauge data?

It sounds like a low pass filter is all that is needed. There are several considerations in selecting low-pass cutoff frequencie...

Lower cutoff frequency for signal processing (filtering ) of LVDT and strain gauge data?

It sounds like a low pass filter is all that is needed. There are several considerations in selecting low-pass cutoff frequencie...

2달 전 | 0

답변 있음

could anyone help me how to group the numbers into sets

Its not clear what you are trying to accomplish. If you want to create a cell array where each matrix value is a cell, then the ...

could anyone help me how to group the numbers into sets

Its not clear what you are trying to accomplish. If you want to create a cell array where each matrix value is a cell, then the ...

2달 전 | 0

질문

unwrap() command resulting in phase bump

I have raw phase and gain data where the phase data wraps at 90deg (expected). When I tried to unwrap the data for plotting I no...

2달 전 | 답변 수: 0 | 0

질문

Prompt for user input not working with Simulink...

When I prompt for user input via a script that runs at the start of a Simulink model (the script is placed in the Callbacks>Star...

약 3년 전 | 답변 수: 0 | 1