Community Profile

photo

Ruger28


18 2019 이후 총 참여 횟수

Ruger28's 배지

  • Knowledgeable Level 2
  • First Answer
  • Thankful Level 1

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
How to minus two arrays with condition
A = [4 8 14] B = [1 2.5 5 11 17] C = B(3:end) - A % take only the variables from 3 to end of vector A more dynamic approach, ...

7일 전 | 0

| 수락됨

답변 있음
how to open old MatLab files with .sfit extension?
https://www.mathworks.com/matlabcentral/answers/272067-how-to-get-my-original-x-y-data-from-saved-sfit#answer_212769 ...

7일 전 | 0

답변 있음
For loop through multiple folders
For a cleaner approach (depending on your MATLAB version)... MainDirectory = 'C:\Users\OlavK\OneDrive - NTNU\NTNU\SIMA\Conditio...

7일 전 | 0

답변 있음
For loop through multiple folders
file1={'1_101_1', '1_102_2', '2_103_1', '2_104_2', '3_105_1', '3_106_2', '4_107_1', '4_108_2', '5_109_1', '5_110_2', '5_201_1', ...

7일 전 | 0

답변 있음
Creating values to a matrix with "if" statement
filename1= 'myfile.csv' [d1,tex]= xlsread(filename1); b = d1(:,1); cntr = 1; % for values outside of range since no else stat...

7일 전 | 0

| 수락됨

답변 있음
Having multiple individual functions in a matlab script
See here: https://www.mathworks.com/matlabcentral/answers/325839-combining-multiple-functions-within-one-script#answer_28788...

약 1달 전 | 0

답변 있음
Need help using fprintf for cell array
Give this a go: shape = struct('circle', [], 'triangle', [], 'square', []); %Print names of created shapes. fields = field...

약 1달 전 | 0

| 수락됨

답변 있음
Graphing a variable function with boundaries problem
Removing the extra " ) " at the end of that line, yields plots and no errors. %Part a) R=287; % Specific gas constant in J/kg....

약 2달 전 | 1

| 수락됨

답변 있음
Cant see the line in my plot
Don't use plot if you are trying to plot each H vs V value. Use Scatter for H=200:100:36000 Height(H) = H; Gc = 398...

약 2달 전 | 1

| 수락됨

답변 있음
help on regexp to extract words between ""
if using R2016b or later aMajorLine = 'var _0x3f86=["\x72\x65\x64","\x67\x72\x65\x65\x6E","\x62\x6C\x75\x65"]'; extractedTex...

약 2달 전 | 0

답변 있음
Put label in colorbar
From doc colorbar try a = colorbar; a.Label.String = 'Power (dB)';

약 2달 전 | 1

답변 있음
How to code fprintf on multiple lines ?
why are you using strcat instead of sprintf Also, your data would be helpful, but try: fprintf(sprintf("Les données des ...

약 2달 전 | 0

질문


Sending PuTTY-like command through TCPIP or VISA
Hello all, I am having issues with sending commands to a piece of hardware through MATLAB. I can easily PuTTY into it, and send...

2달 전 | 답변 수: 1 | 0

1

답변

답변 있음
Printing Results out of a for Loop
rows_diff = abs(max(M(i,:)) - min(M(i,:))); This overwrites the value of rows_diff each time. This is ok if you just want to pr...

5달 전 | 0

| 수락됨

답변 있음
How can I force legend not to overlap the graph?
legend(legendNames,'Location','southeastoutside') This will shift the legend outside of the graph. you can try legend(legendNa...

5달 전 | 0

질문


Interface with Power Supply via VISA TCP/IP Trouble
Hello all, I am trying to connect to a power supply via ethernet, and send SCPI commands to it. I have tried both TCP/IP and ...

5달 전 | 답변 수: 0 | 0

0

답변

질문


Looking to generate an array (grid) of pushbuttons in a figure
Hello All, I am trying to generate a grid of pushbuttons in a figure. I will prompt the user, and get a numeric value of the gr...

7달 전 | 답변 수: 1 | 0

1

답변

질문


How to dynamically update a static text box depending on number of checkboxes selected.
Hello, I am currently trying to update a static text box in a MATLAB GUI I made. I am fairly new to GUIs, and I tried creatin...

10달 전 | 답변 수: 1 | 0

1

답변