Feeds
질문
Need to improve efficiency in this code, which multiplies a 3D matrix by a 2D one
Hi, I have this code, which uses for loops and multiplies a 3D matrix with a 2D one. It works, but I need f_N to be 3200, and on...
9년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How can I install MATLAB versions R2011a - R2013a on macOS 10.10 Yosemite or later?
That worked for me - Matlab 2011a on Yosemite 10.10.4 on 7/7/15
How can I install MATLAB versions R2011a - R2013a on macOS 10.10 Yosemite or later?
That worked for me - Matlab 2011a on Yosemite 10.10.4 on 7/7/15
9년 초과 전 | 0
질문
Reducing values preceding the 1st minima to zero
I need to reduce the value of all the values before the 1st minima, to zero, e.g. if I had: - x = 0:30; y = [10 9 8 7 6 ...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
arrayfun once with 4 variables, or twice with 2 in each, then mult. Why do these two approaches give different solutions?
I have the following code to achieve W_n %% CONSTANTS & VARIABLES clear all; close all; L_x = 27....
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
3D matrix manipulation problems
I struggle with this generally and have come up against a barrier again. I'm trying to create vibrational mode functions for ...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
How do I create a (10,10) matrix containing numbers from 1 to 100?
How do I create a (10,10) matrix containing numbers from 1 to 100? I just want the numbers to go 1 to 10 on the top row, then...
대략 11년 전 | 답변 수: 5 | 0
5
답변질문
Multiplying matrices as cells - 4 dimensional with variable no. of matrices (code works now!)
%I'm trying to work with 4 dimensional cells containing matrices that need multiplying together. %I have three matrices, A_1,...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
How do I create a vector of n exponentially increasing values from a to b?
I know how to calculate the growth factor, but not how to turn it all into a vector. Here's the start of my code: - n = 4 a...
11년 초과 전 | 답변 수: 2 | 1
2
답변질문
curve of best fit from a few points
I have these points: - x=[1 1.5 2 2.5 3]; y=[19.74 14.26 12.34 11.45 10.97]; and I know I can do a very rough approximat...
11년 초과 전 | 답변 수: 4 | 0
4
답변질문
Simple x-y curve fitting from data set.
I'm struggling to find a simple example of simple curve fitting in MATLAB. I just want to do a best-fit curve for the followi...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
Building a surface plot
Please would someone be willing to help me build a surface plot based on this code: a = 5 b = 6 x = 1:a; y = 1:b; wher...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
best way to import this csv
I can't work out how to import this csv file - https://dl.dropbox.com/u/11341635/Data.csv Have tried various methods but I fi...
거의 12년 전 | 답변 수: 2 | 0
2
답변답변 있음
MATLAB can't find my file
Yes thanks that worked. I just copied and pasted the address from that and it's working now. Many thanks.
MATLAB can't find my file
Yes thanks that worked. I just copied and pasted the address from that and it's working now. Many thanks.
거의 12년 전 | 0
질문
MATLAB can't find my file
I'm trying to read in an excel spreadsheet and I can't get it to do it. I put the spreadsheet in the MATLAB home director...
거의 12년 전 | 답변 수: 2 | 0
2
답변질문
can't do a simple csvread for some reason
I'm just trying to do a csvread and I can't seem to get it working. I opened a text edit file (mac) and put: 1,2,3, 4,5,6, ...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
Can array values be used in plot titles?
I'm really sorry I can't be more specific and include any code, but this is for an assignment and so it would be wrong to publis...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
Figures displaying differently in and out of MATLAB
My figures are displaying differently in and out of MATLAB. I saved an image as an uncompressed TIF: - <https://dl.dropbox.co...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
surf plot won't happen because i need a matrix?
surf plot won't happen because i need a matrix? I've just introduced a new variable to my script and I tried doing it using a n...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
Help with code needed - sampling
Help with code needed - sampling I have an equation of a signal, and I'm supposed to be making a PDF graph of it - but I can'...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
working with two variables
working with two variables i'm not sure if this is possible, but is it possible to make a 3D plot using an equation based on tw...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
Help needed displaying multiple plots (and maybe preassigning too)
Help needed displaying multiple plots (and maybe preassigning too) I've got this script, but when I try add x and y labels it r...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
For loop - what about my min and max values?
For loop - what about my min and max values? I'm using a for loop and although my plot is right, I'm only seeing my maximum x-a...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
Animation help needed with
Animation help needed I'm trying to display 10 graphs in a sequence as an animation, running from t=1 to t=10. Here's my code...
대략 12년 전 | 답변 수: 5 | 0
5
답변질문
Function definitions are not permitted.... trying to make an FFT thing
Function definitions are not permitted.... trying to make an FFT thing I'm trying to get this working close all clear a...
대략 12년 전 | 답변 수: 3 | 0
3
답변질문
can't do this
can't do this Hi, I'm attempting nested for loops and failing miserably. Here's my code: - close all; clear all; ...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
For loop and indexing combined?
I think I'm nearly there with this code. close all; clear all; l=0.33;R=100;T=68;m=0.000125;w0=0.1;t=0;mu=m/l;c=sqrt(T/m...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
Need to change one of my constants into a variable
The original question has been removed by the user.
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
Need to derive the CDF for a function using Matlab
The original question has been removed by the user.
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
Help with code needed - iter + 1
The original question has been removed by the user.
대략 12년 전 | 답변 수: 0 | 1
0
답변질문
Frequency doesn't sound right
Hey, I'm just doing a tutorial for a course I'm doing and one question asks us to recover 'signal 2', where we're given signal 1...
대략 12년 전 | 답변 수: 1 | 0